Re: Repeated attacks via SSH
From: Bob Johnson (fbsdlists_at_gmail.com)
Date: 10/03/05
- Previous message: Randy Bush: "Re: Repeated attacks via SSH"
- In reply to: mario: "Re: Repeated attacks via SSH"
- Next in thread: Tod McQuillin: "Re: Repeated attacks via SSH"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Mon, 3 Oct 2005 09:51:00 -0400 To: mario <mario-dated-1128750963.989ae6@schmut.com>
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"
- Previous message: Randy Bush: "Re: Repeated attacks via SSH"
- In reply to: mario: "Re: Repeated attacks via SSH"
- Next in thread: Tod McQuillin: "Re: Repeated attacks via SSH"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|