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

Re: passwordless ssh root logins stopped working after testing dist-upgrade



On Sat, 2010-04-10 at 13:01 +0200, Frank Lin PIAT wrote:
> 
> I am suspecting an issue on the server side.

For the record, Russel's problem was due to a permission issue on /root
on the server side.

> On Tue, 2010-04-06 at 20:00 -0700, Russell L. Carter wrote:
> > 
> > On my main system I have two user accounts, 'rcarter' and 'sardine'.  I
> > remove the .ssh directories from 'rcarter', 'sardine', and 'root'.  I
> > create a new rsa key for rcarter (creates ~rcarter/.ssh) and then
> > ssh-copy-id -i the new key to sardine@localhost and root@localhost,
> > which creates a new .ssh directory with authorized_keys for each.
> > Then I ssh-add the new key to the agent as rcarter.
> > 
> > 1.  $ ssh sardine@localhost logs in w/o password
> > 2.  $ ssh root@localhost asks for password
> > 
> > This is reproducible on two 'testing' systems that have worked
> > flawlessly for at least two years each, but were both dist-upgraded
> > yesterday, and they now exhibit this same behavior.



Reply to: