You can enable the SSH access for various ports using command line (SSH to your server with root access )
1. Login to your server using SSH access.
2. Edit the firewall configuration file on this location - /etc/ssh/sshd_config
( You can use your choice of editor to edit the firewall configuration file. You can use vi or nano command.)
3. You will find the below code in sshd_config file -
#Port 22
You will need to replace port 22 with the port number for which you would like to provide the SSH access.
4. Once you will done then restart the Firewall service. You can restart the firewall using below command -
service sshd restart
That's it!
Please note, it is not recommended to enable the SSH access for various ports due to security purpose. It will increase the attacks using the open ports. Attacker will have multiple ports open for the attack so you are inviting the attacker. So for server safety, do not open multiple ports for SSH access.