2020-04-01 12:15:41 +02:00
|
|
|
# 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
|
|
|
|
|
2020-04-01 12:15:41 +02:00
|
|
|
Match User jumpuser
|
|
|
|
PermitTTY no
|
|
|
|
ForceCommand /sbin/nologin
|
|
|
|
AllowAgentForwarding no
|
|
|
|
AllowTcpForwarding yes
|
|
|
|
X11Forwarding no
|
|
|
|
PermitOpen dest0:* dest:*
|