I am setting up ssh from OS X to a Ubuntu virtual machine (Virtual Box). I tried to set up key-based authentication, following the instructions here.
Now there is a problem. When my VM server is up running, and I am actually logged in at the server side, I can ssh without authentication. But when I log out at the server side (while the VM is still up), I cannot proceed without authentication:
no such identity: /Users/USER/.ssh/id_dsa: No such file or directory no such identity: /Users/USER/.ssh/id_ecdsa: No such file or directory USER@192.168.56.10's password:
I can enter the password and log in without problem.
So, how can I change the configuration so that key authentication also works when I'm not logged in at the server side? From the message, there is no
id_dsa. What I actually have in
id_rsa, so what's their difference?