On 10/3/05, mario <[EMAIL PROTECTED]> wrote:
> So, Jared Hall wrote:
> > Is there a way to block root login over 22?
> > Jared
> > ______________________
>
> yep
>
> [EMAIL PROTECTED] ~]#grep Root /etc/ssh/sshd_config
> PermitRootLogin no

This is not sufficient if ssh is using PAM for authentication (because
PAM will allow root logins).  Make sure you also have disabled PAM
authentication with

ChallengeResponseAuthentication    no

I think both of these settings default to "no" these days, but you
might want to check your config to be sure.

- Bob
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-security
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to