Passwordless ssh authentication!
In your local system, check to see if you have the following files:
- ~/.ssh/id_rsa
- ~/.ssh/id_rsa.pub
If not, type:
ssh-keygen -t rsa
And follow the instructions. Note that ssh-agent
can be
used to securely save your passphrase.
After you have generate your private and public keys, you want to give your remote system the public key:
ssh-copy-id -i ~/.ssh/id_rsa.pub username@remote.system
After entering your password, you’re done!
Reference: http://www.debian-administration.org/articles/152
LINUX
linux