SSH root login with keys only

Julian Fagir gnrp at gnrp.in-berlin.de
Sun Apr 4 22:19:56 UTC 2010


Hi,

> 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


More information about the freebsd-questions mailing list