Reset SSH config from WHM

If the ssh is locked by mistake, we can login via whm:

Login to WHM using the non-SSL port 2086 OR 2087 and then change the URL to:

 

http://$IPADDRESS:2086/scripts2/doautofixer?autofix=safesshrestart

Note: Replace $IPADDRESS with your server's actual IP address.

For example:

https://11.22.33.44:2087/scripts2/doa…safesshrestart

This means if you had set any custom port in ssh, after running the above link, it will change the port to default ie 22 and you can login then restart ssh to get the back end access…:)

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s