How to reset ssh port through WHM
Login to your WHM using 2086
And then browse the below URL:
http://serverip:2086/scripts2/doautofixer?autofix=safesshrestart
It will prompt for server password insert it and it will show that port is reset to default(22)