SSH root login with keys only

Craig Butler craig001 at lerwick.hopto.org
Sun Apr 4 23:27:20 UTC 2010


On 04/04/2010 22:04, Marcin Wisnicki wrote:
> Is it possible to configure sshd such that both conditions are met:
>
> 1. Root will be able to login only by using keys
>    
Yes
> 2. Normal users will still be able to use pam/keyboard-interactive
>    
Yes

see PermitRootLogin section in man sshd_config...

/Craig B


More information about the freebsd-questions mailing list