From 2ce28511be4cdb0dc8b6f1927f160acfad8bd11f Mon Sep 17 00:00:00 2001 From: Evan Pratten Date: Tue, 25 Jul 2023 11:43:04 -0400 Subject: [PATCH] Better negation rule --- configs/ssh/config | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/configs/ssh/config b/configs/ssh/config index 0a70c94..c7fe42a 100644 --- a/configs/ssh/config +++ b/configs/ssh/config @@ -3,18 +3,17 @@ Host * IdentityFile %d/.ssh/id_ed25519_sk_rk_yk20572395 IdentityFile %d/.ssh/id_ed25519 IdentityFile %d/.ssh/id_rsa +Host * !*.github.com !github.com VisualHostKey yes # Github SSH adapter for restricted networks Host github.com HostName ssh.github.com Port 443 - VisualHostKey no Host gist.github.com HostName ssh.github.com Port 443 - VisualHostKey no # Home network Host unifi