ssh_tunnel/templates/remote/sshd_config.j2
2022-07-13 12:52:07 +02:00

9 lines
229 B
Django/Jinja

ClientAliveInterval 30
ClientAliveCountMax 3
Match User ssh-tunnel
AllowTcpForwarding yes
X11Forwarding no
PermitTunnel no
GatewayPorts clientspecified
ForceCommand echo "Only forwarding"