Re: Repeated attacks via SSH
On 10/3/05, mario <mario@schmut.com> wrote:
> So, Jared Hall wrote:
> > Is there a way to block root login over 22?
> > Jared
> > ______________________
>
> yep
>
> [root@snoopy ~]#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
_______________________________________________
freebsd-security@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-security
To unsubscribe, send any mail to "freebsd-security-unsubscribe@freebsd.org"
討論串 (同標題文章)
完整討論串 (本文為第 18 之 23 篇):