darxus: (June 2012)
darxus ([personal profile] darxus) wrote2013-10-29 03:55 pm
Entry tags:

[geek] ssh "authentication accepted.... Access denied."

Didn't find any web search hits, so I thought I'd document it:

$ ssh -v <host>
...
debug1: Trying RSA authentication via agent with '<key>'
debug1: Received RSA challenge from server.
debug1: Sending response to RSA challenge.
debug1: Remote: RSA authentication accepted.
Received disconnect from <ip>: Access denied.


I had installed linux on a new machine, and then copied over a bunch of stuff to attempt to mimic an existing machine. I copied over /home (including the ~/.ssh/authorized_keys authenticated against here), /etc/passwd, and /etc/group. The problem was that I had not copied over /etc/shadow.

Feeling a little more arcane than usual.

Post a comment in response:

From:
Anonymous( )Anonymous This account has disabled anonymous posting.
OpenID( )OpenID You can comment on this post while signed in with an account from many other sites, once you have confirmed your email address. Sign in using OpenID.
User
Account name:
Password:
If you don't have an account you can create one now.
Subject:
HTML doesn't work in the subject.

Message:

 
Notice: This account is set to log the IP addresses of everyone who comments.
Links will be displayed as unclickable URLs to help prevent spam.