Jorel

Well-Known Member
Aug 15, 2003
45
0
156
Try the suggestions in the output from YUM; for example:
Code:
yum upgrade --skip-broken
I was weary of running this for fear of breaking things. I ran the upgrade and it worked, but now I can't restart the SSH Daemon via the WHM. SSH is still running, but I don't want to try restarting it via shell in case it breaks my SSH access altogether.

Code:
Restarting SSH Daemon

Waiting for sshd to restart....finished.

sshd (/usr/sbin/sshd) running as root with PID 8498 (pidfile check method)

sshd: [ != SSH]
sshd has failed, please contact the sysadmin.
Any suggestions on how to fix this?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,260
463
Hello :)

I moved this post into it's own thread for you. Do you have SSH running on a non-standard port? Do you have console access in the event SSH fails when restarting it via the command line?

Thank you.
 

Jorel

Well-Known Member
Aug 15, 2003
45
0
156
Thank you for your help. SSH is running on port 22. I do not have console access.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,260
463
Do you see that SSH is running from the command line? If so, restarting it via the command line should not perform a different action compared to when you restart it via Web Host Manager.

Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,260
463
It's likely SSHd did not restart fast enough for Web Host Manager to detect it as running. Thus, the SSH service restarted successfully, but WHM listed it as "Failed" because it did not restart fast enough.

Thank you.