Hello,
(My linode is running Ubuntu 9)
For the life of me I cannot figure out what's wrong with my public key. I have my public key in use with other sites, so my key should be okay.
I can SSH into my linode with password but not using publickey (ie, password auth turned off).
I have double and triple checked that my ~/.ssh/authorized_keys line is my correct key.
If I do an ssh -v I get:
Code:
...
debug1: ssh_rsa_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey
debug1: Next authentication method: publickey
debug1: Trying private key: /Users/xyz/.ssh/id_dsa
debug1: No more authentication methods to try.
Permission denied (publickey).
Which seems just to say that it doesn't like my public and private key matching.
On the Linode server, I can do an "ssh localhost" with the key generated for my linode user account which seems to say, again, that it doesn't like my remote public key.
I turned on debug logging in sshd/config and when I connect all I get in the /var/log/auth.log is:
Code:
Sep 23 02:29:33 (none) sshd[1349]: Connection from x.y.w.z port 47100
Sep 23 02:29:33 (none) sshd[1349]: debug1: Client protocol version 2.0; client software version OpenSSH_5.2
Sep 23 02:29:33 (none) sshd[1349]: debug1: match: OpenSSH_5.2 pat OpenSSH*
Sep 23 02:29:33 (none) sshd[1349]: debug1: Enabling compatibility mode for protocol 2.0
Sep 23 02:29:33 (none) sshd[1349]: debug1: Local version string SSH-2.0-OpenSSH_5.1p1 Debian-5ubuntu1
Sep 23 02:29:33 (none) sshd[1349]: debug1: do_cleanup
The only thing that gives me some pause is that the name in my keyfile is
MYNAME@host.local (it's a mac) but in some of the auth logs it says I'm connecting from a really long cpe_ip_address.cable.host.com. I am assuming though this is fine since, again, my public key is in use other places.
Any help and tips on where to look is appreciated... I only have so much more hair to pull out. Thanks!