Ubuntu - SSH - Change the Port

sudo vi /etc/ssh/sshd_config

and change the Port:

/etc/ssh/sshd_config
Port <change to another port other than 22>
PermitRootLogin no

Restart sshd

sudo /etc/init.d/ssh restart