]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - ssh_config
zsh/rc: Use red # as prompt for root.
[config/dotfiles.git] / ssh_config
index 31c8e6d915282f023369fd7261aaec082d3829fe..3cb065fcb14ae6808fdad3ed4219555d0dcf0214 100644 (file)
@@ -48,6 +48,13 @@ Host *
     PasswordAuthentication yes
     PubkeyAuthentication yes
 
+# Use only authentication identity files configured in ~/.ssh/config even if
+# ssh-agent offers more identities.
+    IdentitiesOnly 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