[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: SSH key authentication



On Wed, May 07, 2003 at 08:54:31PM +0100, Jon Wood wrote:
> I'm having trouble getting public key authentication to work with SSH.
> I've put my public key in ~/.ssh/authorized_keys, but it still asks me
> for my password.

Check the perms on both the .ssh directory and the authorized_keys file.
They should be pretty restrictive.  Try 700 on .ssh and 600 on
authorized_keys.

Try passing the -v flag to ssh when logging in and look for clues in the
output.

noah

-- 
 _______________________________________________________
| Web: http://web.morgul.net/~frodo/
| PGP Public Key: http://web.morgul.net/~frodo/mail.html 

Attachment: pgpwm6XgnLcN7.pgp
Description: PGP signature


Reply to: