Part of security measure, it is advisable to change default ports to your own defined ports.
SSH port is one among them that you need to customize.🙂
Here is the detail on how you can customize your own ports for your own needs,
You should be able to define a custom port in /etc/ssh/sshd_config. Make sure your firewall is accepting connections thru that port. Might be a good idea to leave 22 open until you confirm that the non-standard port is working properly. As always make a backup of the original file before editing. Then restart SSH server.
To restart ssh service or server type
To start ssh
To stop ssh
/etc/init.d/sshd stop Hope you will find it useful. regards, AJi