sshd service failed to start with error - Bad configuration option: Include
Issue
-
Not able to start sshd service. Getting "Bad configuration option" errors in the logs.
sshd[7663]: /etc/ssh/sshd_config: line 35: Bad configuration option: Include sshd[7663]: /etc/ssh/sshd_config: terminating, 1 bad configuration options -
Failed to start OpenSSH server daemon with status=255/n/a
systemd[1]: sshd.service: main process exited, code=exited, status=255/n/a -
sshd service is in "Active: activating (auto-restart)" state.
Environment
- Red Hat Enterprise Linux 7,8
- openssh
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.