Change default ssh port number on Ubuntu
Login as the root user or as a user that can execute sudo commands.
#open this file for editing...
Find the line that reads
Change this to an different and an available port number...
Next reload ssh