Difference between revisions of "How to Fix an SSH Lockout on a VPS or Dedicated Server w/cPanel"
From Acenet Knowledgebase
Docs admin (Talk | contribs) (test) |
Docs admin (Talk | contribs) m (Text replacement - "WHM - Web Host Manager" to "WHM") |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | 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: | |
+ | |||
+ | <pre>/scripts2/doautofixer?autofix=safesshrestart</pre> | ||
+ | |||
+ | For example, if your server IP is 192.168.1.100, then you would use: | ||
+ | |||
+ | <pre>https://192.168.1.100:2087/scripts2/doautofixer?autofix=safesshrestart</pre> | ||
+ | |||
+ | [[Category:WHM]] |
Latest revision as of 19:20, 22 July 2015
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
For example, if your server IP is 192.168.1.100, then you would use:
https://192.168.1.100:2087/scripts2/doautofixer?autofix=safesshrestart