You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

OCI: OpenSSH Service Fails to Start During Instance Bootup

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, PermitRootLoginwas 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>

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!