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.
http://serverip:2086/scripts2/doautofixer?autofix=safesshrestart
Here use your...