If you are not able to login to server with 22 port then you can reset port to default port. You ca follow below steps to reset default port from WHM.
- Login to WHM.
- After that go to below URL to reset the port.
- Here use your server IP address instead of serverip.
- Now your server port is reseted and you can use server port 22.