Adding public key to ~/.ssh/authorized_keys does not log me in automatically
I added the public ssh key to the authorized_keys file. ssh localhost should log me in without asking for the password. I did that and tried typing ssh localhost , but it still asks me to type in the password. Is there any other setting that I have to go through to make it work? I have followed instruction for changing permissions: Below is the result if I do ssh -v localhost debug1: Reading configuration data /home/john/.ssh/config debug1: Reading configuration data /etc/ssh/ssh_config debug1: Applying options for * debug1: Connecting to localhost [127.0.0.1] port 22. debug1: Connection