Posts Tagged ‘Security’

Change Default SSH Port to Protect FreeBSD server from daily spam attack

Saturday, September 18th, 2010

Change Default SSH Port to Protect your FreeBSD server from daily spam attack.

# ee /etc/ssh/sshd_config

look for line #port 22 and change it to port 1234 then press Esc, save and exit.

reboot the server

#shutdown -r now

or type this command to reload SSH

# /etc/rc.d/sshd reload