SSH Auto Login

ssh-keygen -t rsa

Hit enter so its saved in your home directory under .ssh/id_rsa (hit enter for no passphrase otherwise it kinda defeats the objective!)

ssh-copy-id -i ~/.ssh/id_rsa.pub remoteuser@remote.machine.address

If all went well job done! Words of Warning: the file~/.ssh/id_rsa is a security risk, if I managed to get hold of it I can put it in my home directory and login to any machines you use it to login to without a password!!!!


Add Comment

Poster Name / Handle / Email:

Comment

Add the words "shampoo pound"


Back