aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/%HOME%
diff options
context:
space:
mode:
authorEgor Tensin <egor@tensin.name>2025-10-30 10:10:20 +0000
committerEgor Tensin <egor@tensin.name>2025-10-30 10:10:20 +0000
commit2548e0103fc3e5f4c8cae59910d29ced45e9f4de (patch)
treed45c51a1c887267b1cc8b4e4cc3e32a34d1da764 /%HOME%
parentssh: ignore WarnWeakCrypto if it is not supported (diff)
downloadlinux-home-2548e0103fc3e5f4c8cae59910d29ced45e9f4de.tar.gz
linux-home-2548e0103fc3e5f4c8cae59910d29ced45e9f4de.zip
ssh: fix IgnoreUnknown usage
Diffstat (limited to '%HOME%')
-rw-r--r--%HOME%/.ssh/config6
1 files changed, 3 insertions, 3 deletions
diff --git a/%HOME%/.ssh/config b/%HOME%/.ssh/config
index d5748e0..70c0afa 100644
--- a/%HOME%/.ssh/config
+++ b/%HOME%/.ssh/config
@@ -1,8 +1,9 @@
+IgnoreUnknown UseKeychain,WarnWeakCrypto
+
# Add keys the agent, duh.
AddKeysToAgent yes
# macOS stuff, I don't even know.
-IgnoreUnknown UseKeychain
UseKeychain yes
# Make known_hosts actually readable.
@@ -24,8 +25,7 @@ ServerAliveInterval 15
# Exit if port forwarding fails. Again, why is this not a default?
ExitOnForwardFailure yes
-# They're everywhere right now, annoying.
-IgnoreUnknown WarnWeakCrypto
+# They're everywhere right now, annoying, and only on newer clients.
WarnWeakCrypto no-pq-kex
# Includes must go above Host blocks.