There is an Auto fixer script available to reset the SSH port through WHM.
# Log into WHM control panel with root user.
# Access the following URL to reset SSH configuration settings to default:
// Replace "ServerIPAddress" with your server IP address or hostname.
After executing this script, SSH Port of your server will be reset to its default value which is 22 port.
Now you can access ssh with default port 22.
Please do contact us at esupport@L3webhosting.com if you require any further assistance.