2
0
mirror of https://github.com/sharkdp/bat synced 2024-11-18 15:26:16 +00:00

Add sshd_config syntax highlighting test

This commit is contained in:
Byron Alley 2020-11-01 02:49:44 -04:00 committed by David Peter
parent a5b9a80216
commit bac84b4c8b
2 changed files with 72 additions and 0 deletions

View File

@ -0,0 +1,36 @@
# This test sshd config file is intended for syntax testing
# purposes only.
#
# Definitely do not use this in production for sshd.
Port 22
# Here's a directive commented out:
#ListenAddress 0.0.0.0
ListenAddress 127.0.0.1
HostKey /etc/ssh/ssh_host_rsa_key
IgnoreRhosts yes
PrintMotd yes
X11Forwarding no
AllowAgentForwarding no
PermitRootLogin forced-commands-only
SyslogFacility AUTH
LogLevel VERBOSE
AuthorizedKeysFile /etc/ssh/authorized-keys/%u
PasswordAuthentication yes
PermitEmptyPasswords no
AllowUsers alice
# pass locale information
AcceptEnv LANG LC_*
Banner /etc/sshd_banner
AllowTcpForwarding yes
PermitTunnel no
PermitTTY yes

View File

@ -0,0 +1,36 @@
# This test sshd config file is intended for syntax testing
# purposes only.
#
# Definitely do not use this in production for sshd.
Port 22
# Here's a directive commented out:
#ListenAddress 0.0.0.0
ListenAddress 127.0.0.1
HostKey /etc/ssh/ssh_host_rsa_key
IgnoreRhosts yes
PrintMotd yes
X11Forwarding no
AllowAgentForwarding no
PermitRootLogin forced-commands-only
SyslogFacility AUTH
LogLevel VERBOSE
AuthorizedKeysFile /etc/ssh/authorized-keys/%u
PasswordAuthentication yes
PermitEmptyPasswords no
AllowUsers alice
# pass locale information
AcceptEnv LANG LC_*
Banner /etc/sshd_banner
AllowTcpForwarding yes
PermitTunnel no
PermitTTY yes