Forgot your SSH Password ?? or SSH SSH Service failed and you can’t start it using Cpanel.. ??


Consider the scenario :- SSH service in your server ( CPanel ) has falied and its not allowing you to login from backend. But you can login to WHM with any issues. Trying to restart SSH using WHM > Restart Services also is giving a “Failed” result .


You have changed the SSH port for server hardening , but forgot to add the new port to the firewall rules. And after you logout from the current shell you cant login using both ports: –

Please paste the following to your browser


This will reset the current SSH configuration to default configuration and safely restart SSH. As you all know this only works on a Cpanel Server!

Source :

About the author

Mahmoud M. Abdel-Fattah

Add comment


WP-SpamFree by Pole Position Marketing

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Recent Posts

Recent Comments