Re: Passwordless SSH Logins
From: Jun Sun (jsun_at_junsun.net)
Date: 06/25/03
- Previous message: Dan Lowe: "Re: Passwordless SSH Logins"
- In reply to: Ifan Jones: "Passwordless SSH Logins"
- Next in thread: Ifan Jones: "RE: Passwordless SSH Logins"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Wed, 25 Jun 2003 10:46:39 -0700 To: Ifan Jones <ifan@draig.co.uk>
On Wed, Jun 25, 2003 at 04:42:04PM +0100, Ifan Jones wrote:
> Hi all
>
> I have two Mandrake 9.0 test servers on two different subnets on the
> same switch. I'm using OpenSSH3.4p1. Trying to implement passwordless
> logins failes everytime.
>
> I generate new keys with
>
> ssh-keygen -b 1024 -t rsa1
> ssh-keygen -b 1024 -t rsa
> ssh-keygen -b 1024 -t dsa
>
> I then take the .ssh/identity.pub and put it in authorized_keys on the
> server accepting the connection. This I have followed from many
> how-to's and books.
>
check the permission of .ssh/authorized_keys. It needs to be
600. Otherwise it will fail silently and go on asking for password.
Jun
- Previous message: Dan Lowe: "Re: Passwordless SSH Logins"
- In reply to: Ifan Jones: "Passwordless SSH Logins"
- Next in thread: Ifan Jones: "RE: Passwordless SSH Logins"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]