sshd has failed, please contact the sysadmin

If you have changed the shell default Port 22 on a cPanel powered server , restarting sshd from the WHM will fail. You have to ssh to the server and issue the following command to restart sshd…

 

/sbin/service sshd restart

To, temporarily, reset your shell port back to 22, run the following command from the Address field in browser:

SERVER_MAIN_IP:2087/scripts2/doautofixer?autofix=safesshrestart

Now, you should be able to access shell, and you need to restart sshd at the prompt using the command mentioned above

  • 4 Users Found This Useful
Was this answer helpful?

Related Articles

Move and copy files using SSH

Often you will need to move one or more files/folders or copy them to a different location. You...

How to change SSH port

To change the SSH port number login as root, and edit /etc/ssh/sshd_config Find the line that...