How to run SSH on multiple ports

You can make your SSH server to run on multiple ports by adding more of the Port options in your SSHd the configuration file.

For example, having these lines in /etc/ssh/sshd_config will make the SSH server to run on both port 22 and 2222.

Port 22
Port 2222

You'll need to reboot your SSH server after making the change.