Wednesday, October 18, 2017

SSH: keyless login on Ubuntu

https://www.tecmint.com/ssh-passwordless-login-using-ssh-keygen-in-5-easy-steps/



# Here is what every post seems to omit...

# You need to specify the RAS key to use - this is the private version of the public key you copied to the server
ssh -i ~/.ssh/derek_rsa depappas@192.168.1.155

# make an alias

alias sshberlin='ssh -i ~/.ssh/joes_rsa joesmith@192.168.1.132'

No comments:

Post a Comment