OCI: OpenSSH Service Fails to Start During Instance Bootup
in Linux
Applies To:
Oracle Cloud Infrastructure - Version N/A and later
Oracle Linux x86-64
Symptoms:
The following messages appears on the console during the boot process when the sshd service fails to start.
Starting OpenSSH server daemon. [FAILED] Failed to start OpenSSH server daemon. See 'systemctl status sshd.service' for details.
Cause:
In this case, PermitRootLogin
was modified in SSHD configuration file /etc/ssh/sshd_config
bash-4.2# /sbin/sshd -t /etc/ssh/sshd_config line 38: unsupported option "<some text different from yes or no>". bash-4.2# cat /etc/ssh/sshd_config | grep PermitRootLogin PermitRootLogin <some text different from yes or no>
Tagged:
0