If you're unable to access your server via SSH because of a mistake made to your SSH configuration file, it is simple to reset your SSH configuration file back to defaults if cPanel is installed on your server.
All you need to do is append the following to your WHM URL and then log in using your root log in details when prompted:
/scripts2/doautofixer?autofix=safesshrestart
Substitute the server IP where required and take this in the web browser.
http://your_server_ip:2086/scripts2/doautofixer?autofix=safesshrestart
You will be able to login using SSH now
All you need to do is append the following to your WHM URL and then log in using your root log in details when prompted:
/scripts2/doautofixer?autofix=safesshrestart
Substitute the server IP where required and take this in the web browser.
http://your_server_ip:2086/scripts2/doautofixer?autofix=safesshrestart
You will be able to login using SSH now
No comments:
Post a Comment