RE: enable root login to remote system (was - failed root login with shared ssh key)
From: Dave [Hawk-Systems] (dave_at_hawk-systems.com)
Date: 08/28/03
- Previous message: David Taylor: "Re: enable root login to remote system (was - failed root login with shared ssh key)"
- In reply to: David Taylor: "Re: enable root login to remote system (was - failed root login with shared ssh key)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: "David Taylor" <davidt@yadt.co.uk> Date: Wed, 27 Aug 2003 22:30:56 -0400
>> Further test, which I missed earlier for some unknown reason, was to
>create an
>> ssh key for a non-root user, copy to the target server, and try a key
>> authenticated login with the non-root user... worked perfectly.
>>
>> As such, the problem does not appear to be with the ssh key login,
>but with the
>> fact that it is a root login. I am focusing my efforts there. Any
>idea as to
>> why the server would not allow root login given that we have already checked
>> "PermitRootLogin yes" for the sshd_config. Is there another
>location or entry
>> which would be preventing root logins?
>
>You could always check the permissions on /root/.ssh/ and the files in it.
>ssh won't let you use rsa authentication if the permissions on the folders
>are too loose (for testing I'd recommend 700/600).
they are set to 0644, the same setting as the non-root test accout previously
discussed anyway, but good thought and worth the try. unfortunately I tried
0600 and 0700 with the same results.
thanks for the try though
Dave
_______________________________________________
freebsd-isp@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-isp
To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org"