]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
ssh_config: Add IdentitiesOnly yes.
authorSimon Ruderich <simon@ruderich.org>
Fri, 6 Sep 2013 01:50:19 +0000 (03:50 +0200)
committerSimon Ruderich <simon@ruderich.org>
Fri, 6 Sep 2013 01:50:19 +0000 (03:50 +0200)
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