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

Re: OpenSSH key based authorisation problem



On Tue, Jan 18, 2011 at 06:25:44PM +0100, François TOURDE wrote:
> Le 14992ième jour après Epoch,
> Adrian Levi écrivait:
> 
> > Carolyn is a newly created test account, nothing but "adduser carolyn"
> > and "ssh-keygen -b4096"
> > My key is 4096 bytes long, it works, default length keys didn't work
> > so I thought i'd try the same key length.
> >
> > This box is newly updated from lenny to testing, although the package
> > versions are identical (Version: 1:5.5p1-6) with another Squeeze box
> > that works perfectly.
> >
> > I discovered this problem while trying to set up a sftp account for a
> > Website designer, My accound can sftp perfectly.
> >
> > I can't think on what else to provide at the moment.
> 
> Did you put the public key on the correct .ssh/authorised_keys ? The new
> user (carolyn) must have his/her own ~/.ssh/authorized_keys, or you must
> try "ssh -v adrian@localhost" if you put the key on adrian's home.
> 
That is the default location for authorized_keys, but it can be changed
in sshd_config with the AuthorizedKeysFile parameter.  Better check and
make sure somebody didn't alter it from the default.

-Rob


Reply to: