SSH root login with keys only
kraduk at googlemail.com
Sun Apr 4 22:25:58 UTC 2010
On 4 April 2010 22:49, Julian Fagir <gnrp at gnrp.in-berlin.de> wrote:
> > Is it possible to configure sshd such that both conditions are met:
> > 1. Root will be able to login only by using keys
> > 2. Normal users will still be able to use pam/keyboard-interactive
> perhaps the sshd-option "PermitRootLogin" does match your requirements.
> To be found in sshd_config (5).
> Regards, Julian
> freebsd-questions at freebsd.org mailing list
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscribe at freebsd.org"
Why do you need to do this? It is generally a bad thing to allow. Why not
use su or sudo?
More information about the freebsd-questions