For a long while, I've been able to have some customizations to my SSHD configs in /etc/ssh/templates/sshd_config.templ and they were accepted by the XLATE parser just fine. Somewhere been R81.20 JHF 54 through 84, "something" has changed and now the parser dies with a call to "sed":
[Expert@cpgw:0]# /bin/sshd_template_xlate < /config/active
sshd_config parsing starting.../usr/bin/sed: -e expression #1, char 4: unknown command: `
'
/usr/bin/sed: -e expression #1, char 4: unknown command: `
'
The edit I have is for my remote management host to allow for some extra SSHD options in a new "Match address ..." stanza.
# Example of overriding settings on a per-user basis
#Match User anoncvs
# X11Forwarding no
# AllowTcpForwarding no
# PermitTTY no
# ForceCommand cvs server
Match address 0::0/0,0.0.0.0/0
PasswordAuthentication yes
Match address 192.0.2.1/32 # This is my remote host
PasswordAuthentication yes
AllowTcpForwarding yes
Match all
I've moved that additional item around to other places and the error is the same.
What has changed, and why, and how can I get it working again? This has worked for years and years.