Using ssh, I want to access
Machine1 --> Machine2
Let's say Machine2 has IP address: 133.165.14.22.
I have copied id_rsa.pub
from Machine1
to Machine2
Then in Machine2
I have already did this:
cd ~/.ssh
cat id_rsa.pub >> authorized_keys
But when I tried to do SSH from Machine1
ssh -i /Users/neversaint/.ssh/id_rsa neversaint@133.165.14.22
It still asked for password.
neversaint@133.165.14.22's password:
How can I do it correctly, so that it won't ask for password?