How to restore your SSH access using WHM Autofixer
If you are locked out and can’t SSH to your server, WHM Autofixer may help you!
Here is process to restore SSH settings and access.
1. Login to your WHM using the following URL:
https://HOSTNAME-OR-IP:2087/scripts2/autofixer
Change the HOSTNAME-OR-IP as appropriate for you.
2. In the Autofixer interface, put the name safesshrestart as shown on the image.
WHM SSH Autofixer
3. Hit the Submit button.
This will restore your SSH configuration and restart your sshd! You should be able to login easily after that!