My Oracle Support Banner

SSH Restart fails with "Directive 'AuthorizedKeysFile' is not allowed within a Match block" (Doc ID 2169899.1)

Last updated on AUGUST 04, 2018

Applies to:

Linux OS - Version Oracle Linux 5.0 to Oracle Linux 6.8 [Release OL5 to OL6U8]
Linux x86-64
Linux x86

Symptoms

sshd restart fails with following error:

# /etc/init.d/sshd restart
Stopping sshd: [ OK ]
Starting sshd: /etc/ssh/sshd_config line 140: Directive 'AuthorizedKeysFile' is not allowed within a Match block
[FAILED]

Changes

 Added a Match block with the directive AuthorizedKeysFile in /etc/ssh/sshd_config.

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Changes
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.