To change the default SSH port carry out the following:

[html]
vim /etc/ssh/sshd_config
[/html]

Update ‘Port 22’ to any port you like e.g.

[html]
Port 2525
[/html]

Restart SSH

[html]
/etc/init.d/ssh restart
[/html]

Done!

Written by Matt Cooper
Hi, I'm Matt Cooper. I started this blog to pretty much act as a brain dump area for things I learn from day to day. You can contact me at: matt@matthewc424.sg-host.com.