On Wed, May 07, 2003 at 11:11:39PM -0400, Noah Meyerhans wrote: > 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. Wonderful, I met the same problem on another computer. As there are no .ssh/ there, I mkdir a new one, but forgot the restriction ssh set on the permission of dir and files. Now it works fine. -- Zeng Nan Simple is Beautiful.
Attachment:
pgps4SAXV1r5f.pgp
Description: PGP signature