summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2021-10-28 14:59:48 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2021-10-28 14:59:48 +0200
commit783eb1b3efbb36fa780af63139fc3296cfe37522 (patch)
treeb2e8d7bba6c12cf58720cf2ad1fc8d3698c2f86c
parent9b84cd4486d648d7b764ea653baee568d304da95 (diff)
downloadnixos-783eb1b3efbb36fa780af63139fc3296cfe37522.tar
nixos-783eb1b3efbb36fa780af63139fc3296cfe37522.tar.gz
nixos-783eb1b3efbb36fa780af63139fc3296cfe37522.tar.bz2
nixos-783eb1b3efbb36fa780af63139fc3296cfe37522.tar.xz
nixos-783eb1b3efbb36fa780af63139fc3296cfe37522.zip
gkleen@sif: ...
-rw-r--r--accounts/gkleen@sif/default.nix1
-rw-r--r--accounts/gkleen@sif/ssh-hosts.nix1
2 files changed, 1 insertions, 1 deletions
diff --git a/accounts/gkleen@sif/default.nix b/accounts/gkleen@sif/default.nix
index 6b45c678..d7156ea4 100644
--- a/accounts/gkleen@sif/default.nix
+++ b/accounts/gkleen@sif/default.nix
@@ -74,6 +74,7 @@ in {
74 74
75 Match host *.mathinst.loc,*.cipmath.loc 75 Match host *.mathinst.loc,*.cipmath.loc
76 IdentityFile ~/.ssh/gkleen@mathinst.loc 76 IdentityFile ~/.ssh/gkleen@mathinst.loc
77 KexAlgorithms +diffie-hellman-group1-sha1
77 78
78 Match host *.mathinst.loc !exec "nc -z -w 1 %h %p &>/dev/null" 79 Match host *.mathinst.loc !exec "nc -z -w 1 %h %p &>/dev/null"
79 ProxyJump mathw0g 80 ProxyJump mathw0g
diff --git a/accounts/gkleen@sif/ssh-hosts.nix b/accounts/gkleen@sif/ssh-hosts.nix
index e808954d..c0e528b6 100644
--- a/accounts/gkleen@sif/ssh-hosts.nix
+++ b/accounts/gkleen@sif/ssh-hosts.nix
@@ -299,6 +299,5 @@
299 "math05" = 299 "math05" =
300 { hostname = "math05.mathinst.loc"; 300 { hostname = "math05.mathinst.loc";
301 proxyJump = "mathw0h.mathinst.loc"; 301 proxyJump = "mathw0h.mathinst.loc";
302 extraOptions.KexAlgorithms = "+diffie-hellman-group1-sha1";
303 }; 302 };
304} 303}