aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/%HOME%/.ssh/config
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2020-03-18 17:35:27 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2020-03-18 17:35:27 +0300
commit177f8a0780231b83c0692d37f3f3043024eaff4a (patch)
tree58bce15037d4ad53edddaa576936337ba029d1b2 /%HOME%/.ssh/config
parent.ssh: prettify config (diff)
downloadlinux-home-177f8a0780231b83c0692d37f3f3043024eaff4a.tar.gz
linux-home-177f8a0780231b83c0692d37f3f3043024eaff4a.zip
.ssh/config: ExitOnForwardFailure yes
Diffstat (limited to '%HOME%/.ssh/config')
-rw-r--r--%HOME%/.ssh/config11
1 files changed, 6 insertions, 5 deletions
diff --git a/%HOME%/.ssh/config b/%HOME%/.ssh/config
index 88ee09c..9322f44 100644
--- a/%HOME%/.ssh/config
+++ b/%HOME%/.ssh/config
@@ -2,22 +2,23 @@ AddKeysToAgent yes
# Make known_hosts actually readable.
HashKnownHosts no
-
# Don't verify localhost, duh.
NoHostAuthenticationForLocalhost yes
-
# Add server keys to known_hosts silently, I never bother to verify them
# anyway.
StrictHostKeyChecking no
+# Actually, scratch that. Don't use known_hosts at all, what is this even for?
+# Kappa implied.
+UserKnownHostsFile /dev/null
# Keep ssh connections alive.
# Wonder why this isn't default.
ServerAliveCountMax 3
ServerAliveInterval 15
-# Actually, scratch that. Don't use known_hosts at all, what is this even for?
-# Kappa implied.
-UserKnownHostsFile /dev/null
+# Exit if port forwarding fails.
+# Again, why is this not a default?
+ExitOnForwardFailure yes
Include ~/.ssh/config_local