]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - ssh_config
zsh/rc: Add global aliases N (>/dev/null) and EN (2>/dev/null).
[config/dotfiles.git] / ssh_config
index b61298dabfca6f6e428dada37ab71ac34080dad5..9dc5150803fdb0c04ed89778233d7b85d5c4e218 100644 (file)
@@ -33,8 +33,13 @@ Host *
 # ControlMaster to work.
     ControlPath ~/.ssh/master-%l-%h-%p-%r
 
+# Abort if not all requested port forwardings can be set up.
+    ExitOnForwardFailure yes
+
 # Don't send any environment variables.
     SendEnv
 
+# Check host IP in known_hosts when connecting to detect DNS spoofing.
+    CheckHostIP yes
 # Ask before adding any host keys to ~/.ssh/known_hosts.
     StrictHostKeyChecking ask