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: ssh Connection Fails With “Bad configuration option” Error

edited Jan 25, 2024 1:21PM in Linux

APPLIES TO

Oracle Cloud Infrastructure - Version N/A and later

Linux x86_64


SYMPTOMS

When connecting from a Linux system with ssh, the connection fails and the following errors can be 

seen from the command output:

$ ssh <destination> 
/etc/ssh/ssh_config: line 21: Bad configuration option: hostkey 
/etc/ssh/ssh_config: line 23: Bad configuration option: hostkey 
/etc/ssh/ssh_config: line 31: Bad configuration option: syslogfacility 


CAUSE

The mentioned options hostkey and syslogfacility are server-side options, not client-side options.

Those options can be (and usually are) present in /etc/ssh/sshd_config which is the base default configuration file for the OpenSSH 

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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