SSHD service fails to start when chroot parameters like Match and ForceCommand are defined in sshd_config file.
Issue
- SSHD service fails to start when certain chroot related parameters are defined in sshd_config. When parameters like Match, ForceCommand are included in sshd_config, sshd service fails to start as follows:
[root@xxx]# /etc/init.d/sshd restart
Stopping sshd: [ OK ]
Starting sshd: /etc/ssh/sshd_config: line 123: Bad configuration option: Match
/etc/ssh/sshd_config: line 127: Bad configuration option: ForceCommand
/etc/ssh/sshd_config: terminating, 2 bad configuration options
[FAILED]
Environment
- Red Hat Enterprise Linux 5
openssh-server-4.3p2-36.el5_4.2-i386
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
