If you happen to mess up your ssh configuration some how and lock yourself out of ssh then you can reset the ssh config from Cpanel using below method :

  • Login to WHM on non secure port i.e 2086
  • And then use below URL to reset the config :

http://YOUR.SERVER.IP:2086/scripts2/doautofixer?autofix=safesshrestart

If it do not help in your case then ofcourse you either need to contact your hosting/data center or can use KVM if you have it installed for your server.

Tags: , , ,

Leave a Reply