[augeas-devel] problem with ssh lense on denyusers in match section

Ward, Mattison Taylor mattison_ward at unc.edu
Tue Feb 28 16:55:09 UTC 2017


$sudo augtool print /files/etc/ssh/sshd_config
$sudo augtool print /augeas//error
/augeas/files/etc/ssh/sshd_config/error = "parse_failed"
/augeas/files/etc/ssh/sshd_config/error/pos = "523"
/augeas/files/etc/ssh/sshd_config/error/line = "19"
/augeas/files/etc/ssh/sshd_config/error/char = "0"
/augeas/files/etc/ssh/sshd_config/error/lens = "/usr/share/augeas/lenses/dist/sshd.aug:123.12-125.36:"
/augeas/files/etc/ssh/sshd_config/error/message = "Get did not match entire input"


$sudo cat /etc/ssh/sshd_config
...
Match Host ourhosts*
  DenyUsers fred



Other entries under the Match clause work fine:

For example, after changing 'DenyUsers fred' to 'PermitRootLogin no' augtool print works fine.

Any ideas?





More information about the augeas-devel mailing list