On Mac OS X Mountain Lion (10.8) I have setup public/private keys for passwordless SSH to another Mountain Lion machine but when I try to SSH to the other machine it still asks for my password. I have verified permissions of the ~/.ssh
directory and the ~/.ssh/authorized_keys2
file are correct. Verbose output from ssh -vvv my.server.com
does not show any type of failure and there is nothing indicating a failure in the /var/log/system.log
.
My keys work fine when connecting to Linux and Mac OS X Lion (10.7) machines.