[ale] ssh authorized_keys2, what am I missing?

Jason Day jasonday at worldnet.att.net
Wed Jun 8 13:34:27 EDT 2005


On Wed, Jun 08, 2005 at 01:04:59PM -0400, Grant Robertson wrote:
> Debian 3.1, openssh 3.8.1p1 / Putty

How did you get the public key to the server?  Assuming the public key
was generated by putty, did you export it to openssh format first?

> I'm trying to use an RSA key to authenticate an ssh client connection,
> but the key is refused. I've set logging to DEBUG in the sshd_config,
> and it does show that it's attempting the keyfiles, but it doens't
> give me detail on the failure. The authorized_keys2 file is set to 640
> (I've also tried 440, 400, 600).

Try using authorized_keys instead of authorized_keys2.  Also, I believe
the .ssh directory must be 700, and the authorized_keys files must be
either 400 or 600.  It's the group and other bits that are important,
they must both be 0.
-- 
Jason Day                                       jasonday at
http://jasonday.home.att.net                    worldnet dot att dot net
 
"Of course I'm paranoid, everyone is trying to kill me."
    -- Weyoun-6, Star Trek: Deep Space 9



More information about the Ale mailing list