Re: OpenSSH key based authorisation problem

2011-01-18 Thread Adrian Levi
On 19 January 2011 07:35, Rob Owens wrote: > I was going to tell you that .ssh should not be world readable, but I > just tested it and it works fine like that.  (I guess that changed > sometime since I first set up ssh on my machine). > > Can you post the authorized_keys file?  Remember that thos

Re: OpenSSH key based authorisation problem

2011-01-18 Thread Rob Owens
On Wed, Jan 19, 2011 at 06:06:56AM +1000, Adrian Levi wrote: > On 19 January 2011 02:37, Rob Owens wrote: > > Any time I've ever had trouble with key based authentication, it was > > because of improper permissions on my .ssh folder.  It should be set: > > > > chmod 700 ~/.ssh > > > > I'd double-c

Re: OpenSSH key based authorisation problem

2011-01-18 Thread Adrian Levi
On 19 January 2011 05:06, Rob Owens wrote: > 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. 'Somebody' ~me? :) This exact config file works pe

Re: OpenSSH key based authorisation problem

2011-01-18 Thread Adrian Levi
On 19 January 2011 02:37, Rob Owens wrote: > Any time I've ever had trouble with key based authentication, it was > because of improper permissions on my .ssh folder.  It should be set: > > chmod 700 ~/.ssh > > I'd double-check that before going any further. I checked that but didn't spot anythin

Re: OpenSSH key based authorisation problem

2011-01-18 Thread Rob Owens
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 wor

Re: OpenSSH key based authorisation problem

2011-01-18 Thread François TOURDE
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 f

Re: OpenSSH key based authorisation problem

2011-01-18 Thread Rob Owens
On Tue, Jan 18, 2011 at 09:55:32PM +1000, Adrian Levi wrote: > It seems that users other than me are not able to login to the server. > I use key nased authentication via putty and from other debian boxes > fine but other users from putty (haven't tried other users from linux) > fail with "No more