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?
You can use the terminal.
ssh customer@andros.dev -p 5555