misc/server/sshd_config_snippets

14 lines
319 B
Plaintext
Raw Permalink Normal View History

# Example jump user configuration
2020-04-01 16:48:03 +02:00
# Use this to connect through the jumphost:
# ssh -N -L 9022:targethost:22 jumpuser@jumphost
# ssh alarm@localhost -p 9022
Match User jumpuser
PermitTTY no
ForceCommand /sbin/nologin
AllowAgentForwarding no
AllowTcpForwarding yes
X11Forwarding no
PermitOpen dest0:* dest:*