Re: Re: publickey/password login
From: Julien Gremillot (julien.gremillot_at_gmail.com)
Date: Tue, 19 Apr 2005 23:18:43 +0000 To: Daniel Gerzo <firstname.lastname@example.org>
2005/4/19, Daniel Gerzo <email@example.com>:
>> You could put an invalid character in root's password field
(disabling password logins)
>> like * or !. Then you could install public keys in
.ssh/authorized_keys. Make sure
>> PermitRootLogin is enabled. That is how I've done that exact thing
in the past.
> if he would do so, he won't be able to log in as root from local
> console anymore, so this isn't the best way how to do so.
He would sure be able to log in as root from local console, using ssh
and keys, but I agree this is not a clean way to achieve the goal :)
-- Julien Gremillot