Tag Info

New answers tagged

1

try to add the key again. first set PasswordAuthentication yes in sshd_config at dest machine, then do ssh-copy-id user@host log in, then it will copy the key over. Now you can set PasswordAuthentication no(if you want, for extra security) , and you should be able to log in automatically. You could also use your curiosity and check if id_rsa.pub from the ...


0

It might be different because it looks like you are connecting to localhost or something (192.168.0.2 or is that just for the question?). What often solves things like this is to edit the ~/.ssh/known_hosts file and delete the entry for the domain you are connecting to, it will re-prompt you for ssh credentials and avoid problems caused by incorrect ...



Top 50 recent answers are included