To avoid SSH timeout issues when connecting from terminal/putty then I have added "ServerAliveInterval 60" to at /etc/ssh/ssh_config. now no more start the SSH server. Also can not login for remove this line. How to remove the line from ssh_config files?
Code:
Waiting for “sshd” to start ……Job for sshd.service failed because the control process exited with error code. See "systemctl status sshd.service" and "journalctl -xe" for details. …failed.
Cpanel::Exception::Services::StartError Service Status
Service Error
(XID cqcfya) The “sshd” service failed to start.
Startup Log
Dec 12 03:50:43 na.nirjonmela.com systemd[1]: Failed to start OpenSSH server daemon.
Dec 12 03:50:43 na.nirjonmela.com systemd[1]: Unit sshd.service entered failed state.
Dec 12 03:50:43 na.nirjonmela.com systemd[1]: sshd.service failed.
Log Messages
Dec 12 03:50:43 na sshd: /etc/ssh/sshd_config: terminating, 1 bad configuration options
Dec 12 03:44:04 na sshd[8496]: pam_unix(sshd:session): session opened for user root by (uid=0)
sshd has failed. Contact your system administrator if the service does not automagically recover.