Re: Having trouble sharing public/private keys for ssh ... keeps asking for password

From: DanGer <danger_at_wilbury.sk>
Date: Wed, 6 Oct 2004 12:18:03 +0200
Hello Joe,

Wednesday, October 6, 2004, 12:02:04 PM, you wrote:

> Ok, this should be easy:

> I want to log in from CLIENT to SERVER without being
> asked for a password.

> On CLIENT, I run:

> ssh-keygen -t dsa -b 2048

> as user "test"

> and I do not enter a password.  Then I copy the .pub
> portion of that key over to SERVER and save it as
> /usr/home/jerkoff/.ssh/authorized_keys2 ... note that
> I save it as authorized_keys2, because it is a dsa key
> ...

> then I chmod 0600 authorized_keys2 ...

> So now I should be able to go to CLIENT and:

> ssh jerkoff_at_SERVER

> and log in with no password, right ?  Wrong.  I get:

> % ssh jerkoff_at_server
> Password:
> Response:  (I hit enter)
> jerkoff_at_server's password:  (I hit enter)
> Permission denied, please try again.

> So ... what am I doing wrong ?

save it as ~/.ssh/authorized_keys
it doesen't matter, that it is dsa 2048 bit key...

> thanks.


-- 
Best regards

+----------==/\/\==----------+
| DanGer <danger_at_wilbury.sk> |
| DanGer_at_IRCnet ICQ261701668 |
| http://danger.homeunix.org |
+----------==\/\/==----------+
Received on Wed Oct 06 2004 - 08:17:24 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:15 UTC