Conectarte por SSH sin contraseña
Sencillo script para logearnos sin contraseña en un servidor con el protocolo SSH.
ssh-keygen -t rsa &&
cat .ssh/id_rsa.pub | ssh -p 22 usuarioRemoto@ipRemoto
'cat >> .ssh/authorized_keys'
Ante Enter passphrase, contestamos en blanco.
This work is under a Attribution-NonCommercial-NoDerivatives 4.0 International license.
Will you buy me a coffee?
This is how I keep writing without ads or paywalls.
Sure, it's on me!
Comments
There are no comments yet.