Files
appServerTunnelhead/server/sshd/sshd_config
2025-12-27 20:34:15 +01:00

17 lines
305 B
Plaintext

# core hardening (example — adjust to your policy)
Port 2222
Protocol 2
PasswordAuthentication no
PubkeyAuthentication yes
PermitRootLogin no
# For your tunneling use-case:
AllowTcpForwarding yes
GatewayPorts clientspecified
# (Optional) Restrict to your username:
AllowUsers tunnel