Browse Source

sshd config: explicitly disable all forms of forwarding (redundant setting)

https://github.com/fphammerle/docker-mysqldump-sshd/blob/b648c7635005b9ec5a6a9c6d4673ab718d2c88b8/sshd_config
Fabian Peter Hammerle 3 years ago
parent
commit
2b346a8b11
1 changed files with 3 additions and 0 deletions
  1. 3 0
      sshd_config

+ 3 - 0
sshd_config

@@ -23,9 +23,12 @@ PasswordAuthentication no
 ChallengeResponseAuthentication no
 StrictModes no
 
+DisableForwarding yes
 AllowAgentForwarding no
+AllowStreamLocalForwarding no
 AllowTcpForwarding no
 GatewayPorts no
+PermitTunnel no
 X11Forwarding no
 PermitUserEnvironment no
 PrintMotd no