Some time we make changes in /etc/ssh/sshd_config and logged out from server. Can’t SSH to server as we have made some wrong settings in /etc/ssh/sshd_config file. In that case we can use AutoFixer script from WHM to reset the sshd_config file.

Log in to WHM as root user and browse following URL.

http://192.168.0.2:2086/scripts2/autofixer

Use your server ip instead of 192.168.0.2 in above URL. To reset the sshd_config file insert "safesshrestart" in following autofixer window.



The safesshrestart autofixer will show you following execution.



If you are using another port before resetting default sshd_config file by using autofixer then first SSH to server by using default SSH port 22 and restart the SSHD service, it will reset your existing SSHD port.

You can find more information regarding autofixer feature at following URL

Index of /autofixer/