]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
ssh_config: Use GatewayPorts no.
authorSimon Ruderich <simon@ruderich.org>
Mon, 15 Apr 2013 19:11:49 +0000 (21:11 +0200)
committerSimon Ruderich <simon@ruderich.org>
Mon, 15 Apr 2013 22:10:10 +0000 (00:10 +0200)
ssh_config

index 31c8e6d915282f023369fd7261aaec082d3829fe..6a2d79a29296e6642b86c58967cfd8d6f1ba4ac5 100644 (file)
@@ -48,6 +48,9 @@ Host *
     PasswordAuthentication yes
     PubkeyAuthentication yes
 
+# Bind local forwardings to loopback only. This way no remote hosts can access
+# them (default).
+    GatewayPorts no
 # Abort if not all requested port forwardings can be set up.
     ExitOnForwardFailure yes