Wednesday, February 24, 2010

Change default SSH port in Ubuntu

Here are step by step instruction to change the default SSH port in Ubuntu:

cd /etc/ssh/

pico sshd_config

change the port 22 to another port number of your choice

Save the file and then run:

cd /etc/init.d/

./ssh reload