Enable password-less SSH login
To enable password-less login, generate a new SSH key with an empty passphrase:
ssh-keygen -t rsa -P '' -f ~/.ssh/id_rsa
cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys
Test this with:
ssh localhost
If successful, you should not have to type in a new password.
ssh-keygen -t rsa -P '' -f ~/.ssh/id_rsa
cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys
Test this with:
ssh localhost
If successful, you should not have to type in a new password.
Comments
Post a Comment