Chrooted SFTP On Oracle Linux 5 Fails with Error "Starting sshd: /etc/ssh/sshd_config: line 123: Bad configuration option: Match"

(Doc ID 2113162.1)

Last updated on MARCH 16, 2016

Applies to:

Linux OS - Version Oracle Linux 5.0 and later
Linux x86-64
Linux x86


 Following configuration on Oracle Linux 5 server to restrict the SFTP from navigating to anything other than the home directory


But starting sshd fails with the following error:


 Add Match directive to /etc/ssh/sshd_config


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms