Sorry if this sounds like a repeat, but I'm fairly sure it's specifically Mac OS X 10.9 related, it works fine for me on my 10.8 machine. I've done everything identically, as usual:
$:~ ssh-keygen -t rsa -P "" $:~ cat $HOME/.ssh/id_rsa.pub >> $HOME/.ssh/authorized_keys
But yet it always demands a password now on 10.9. Apparently, it's not accepting the public key:
% ssh -v localhost OpenSSH_6.2p2, OSSLShim 0.9.8r 8 Dec 2011 ... debug1: Authentications that can continue: publickey,keyboard-interactive debug1: Next authentication method: publickey debug1: Offering RSA public key: /Users/edwardbrowne/.ssh/id_rsa debug1: Authentications that can continue: publickey,keyboard-interactive
Note that when it's working on 10.8, the line after "Offering RSA public key:" is like so:
debug1: Server accepts key: pkalg ssh-rsa blen 279
But in 10.9 it doesn't accept it, it just moves on to the next authentication method. In both cases, the "id_rsa" file seems identical:
% ls -l id_rsa -rw------- 1 edwardb staff 1679 Mar 30 10:16 id_rsa %
So why does the server accept the offer of the public key in one case, but not in the other?
Thanks, and cheers - Ed