If you mess up with the SSH setting’s on your server and lock yourself out of ssh then you can reset the SSH configuration settings from WHM by following the below steps :
Login to your WHM on a non secure port that is : 2086
for example : http://serverip:2086
And then browse the URL to reset the SSH configuration settings :
http://serverip:2086/scripts2/doautofixer?autofix=safesshrestart
for ex :
http://1920.168.0.1:2086/scripts2/doautofixer?autofix=safesshrestart
That’s all you are done.
Hi, thank you SO much for sharing this bit, WHM guru 😀