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