Upgrade to the latest RELEASE
of FreeBSD:
freebsd-update -r 9.0-RELEASE upgrade freebsd-update -r 9.0-RELEASE install reboot freebsd-update -r 9.0-RELEASE install
echo denyhosts_enable=YES >> /etc/rc.conf
Add to /etc/hosts.allow
:
sshd : /etc/hosts.deniedssh : deny sshd : ALL : allow
Create file:
touch /etc/hosts.deniedssh
Warning:
syslogd should ideally be run with the -c
option; this will ensure that
denyhosts notices multiple repeated login attempts.
To do this, add syslogd_flags=-c
to /etc/rc.conf
Add these files to ports
lists if needed:
Need: