Current time: 04-19-2014, 10:44 PM Hello There, Guest! (LoginRegister)

Post Reply 
Ssh Passwordless Login - Agent admitted failure to sign using the key.
09-21-2010, 08:53 PM
Post: #1
Ssh Passwordless Login - Agent admitted failure to sign using the key.
Hi,

I have followed the published procedure for Ssh Passwordless Login several times and keep on getting "Agent admitted failure to sign using the key." when I try to ssh.

The procedure is here: http://wiki.dreamhost.com/Ssh#Passwordless_Login
My command only version of it is:

ssh-keygen -t rsa <enter><enter><enter>
scp ~/.ssh/id_rsa.pub <user>@www.<my Domain>.com:~/
ssh <user>@www.<my Domain>.com
mkdir .ssh
cat id_rsa.pub >> ~/.ssh/authorized_keys
rm id_rsa.pub
chmod go-w ~
chmod 700 ~/.ssh
chmod 600 ~/.ssh/authorized_keys


ssh <user>@www.<my Domain>.com then produces:
"Agent admitted failure to sign using the key."

Thanks for reading.
Find all posts by this user
Quote this message in a reply
09-22-2010, 05:55 AM
Post: #2
RE: Ssh Passwordless Login - Agent admitted failure to sign using the key.
Where did you generate the key? On your home machine, or on your web server here?

-Scott
Find all posts by this user
Quote this message in a reply
09-22-2010, 05:59 AM
Post: #3
RE: Ssh Passwordless Login - Agent admitted failure to sign using the key.
(09-22-2010 05:55 AM)sdayman Wrote:  Where did you generate the key? On your home machine, or on your web server here?

Home machine
Find all posts by this user
Quote this message in a reply
09-22-2010, 10:58 AM
Post: #4
RE: Ssh Passwordless Login - Agent admitted failure to sign using the key.
My guess is that the web server doesn't like how your home machine generated the key. Try those same steps here, then copy your private (and public) keys to your home machine.

There's also the possibility that your home OpenSSH is incompatible with OpenSSH here. Which version do you have at home? Here it's 5.1p1.

-Scott
Find all posts by this user
Quote this message in a reply
07-31-2011, 10:43 PM (This post was last modified: 07-31-2011 10:58 PM by richard.wonka.)
Post: #5
RE: Ssh Passwordless Login - Agent admitted failure to sign using the key.
(09-22-2010 10:58 AM)sdayman Wrote:  ... There's also the possibility that your home OpenSSH is incompatible with OpenSSH here. Which version do you have at home? Here it's 5.1p1.
Hey there,

having the same problem on ubuntu natty
Code:
$ ssh -version
OpenSSH_5.8p1 Debian-1ubuntu3, OpenSSL 0.9.8o 01 Jun 2010

I don't really want to generate a private key on a remote server, as that would defeat the "private" part of it. Any other ideas on how to solve this problem?

I'm trying to log on to moran.

:-)

Richard[/code]




[SOLVED]

Got it. the new key, generated on the client was not yet managed by ssh-agent.

a simple
Code:
$ ssh-add
fixed things.

:-)
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: