systemd failed to start the service sshd

May 10, 2018
5
0
1
Kurdistan
cPanel Access Level
DataCenter Provider
Hello , please i need help !

Code:
[2018-06-03 22:39:43 +0200] info [restartsrv_sshd] systemd failed to start the service “sshd” (The “/usr/bin/systemctl” command (process 6520) reported error number 1 when it ended.): Job for sshd.service failed because the control process exited with error code. See "systemctl status sshd.service" and "journalctl -xe" for details. Waiting for “sshd” to start ………failed.

Cpanel::Exception::Services::StartError Service Status

Service Error
(XID tad9bm) The “sshd” service failed to start.

Startup Log
Jun 03 22:39:43 exa systemd[1]: Failed to start OpenSSH server daemon.
Jun 03 22:39:43 exa systemd[1]: Unit sshd.service entered failed state.
Jun 03 22:39:43 exa systemd[1]: sshd.service failed.

Log Messages
Jun 3 22:39:43 exa sshd: /etc/ssh/sshd_config: terminating, 1 bad configuration options

sshd has failed. Contact your system administrator if the service does not automagically recover.
 
Last edited by a moderator:
May 10, 2018
5
0
1
Kurdistan
cPanel Access Level
DataCenter Provider
the last update of cloudlinux not compatble with it when you update and reboot server directly your server will go wrong i mean down and stuck from grub like that picture unnamed.png


today for twice times i have formated and reinstalled operator just about that problem please found any solution for that thanks....
 

Jcats

Well-Known Member
PartnerNOC
May 25, 2011
797
152
168
New Jersey
cPanel Access Level
DataCenter Provider
Jun 3 22:39:43 exa sshd: /etc/ssh/sshd_config: terminating, 1 bad configuration options

Please provide output of

Code:
sshd -t
 

cPanelLauren

Forums Analyst II
Staff member
Nov 14, 2017
8,080
657
263
Houston
cPanel Access Level
DataCenter Provider
Hello,

You might also want to try the following if you accidentally misconfigure your SSH configuration file, navigate to the following link in your web browser (where example.com represents the server's hostname or main IP address):
https://example.com:2087/scripts2/doautofixer?autofix=safesshrestart

This script attempt to will temporarily configure an additional SSH configuration file for port 22, which will allow you to access, edit, and fix the original SSH configuration file.
If another service or daemon uses port 22, the script will configure an additional SSH configuration file for port 23.