Преглед изворни кода

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 година
родитељ
комит
2b346a8b11
1 измењених фајлова са 3 додато и 0 уклоњено
  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