]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - ssh_config
ssh_config: Add IdentitiesOnly yes.
[config/dotfiles.git] / ssh_config
index 6a2d79a29296e6642b86c58967cfd8d6f1ba4ac5..3cb065fcb14ae6808fdad3ed4219555d0dcf0214 100644 (file)
@@ -48,6 +48,10 @@ 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