diff options
| author | Petri Hienonen <petri.hienonen@gmail.com> | 2026-01-12 08:56:18 +0200 |
|---|---|---|
| committer | Petri Hienonen <petri.hienonen@gmail.com> | 2026-01-12 08:56:18 +0200 |
| commit | b85d671f4977ee7b3a5a7f079d618c5449f86940 (patch) | |
| tree | fdbb8eddb41a53477034a35ea6671e8fb6cf7d71 | |
| parent | 13ff969e4ec57b27aaacecde989bbff8e1e8d887 (diff) | |
| download | nixos-b85d671f4977ee7b3a5a7f079d618c5449f86940.tar.zst | |
SSH client algorithm selection
| -rw-r--r-- | home/default.nix | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/home/default.nix b/home/default.nix index 61f4e13..87243b0 100644 --- a/home/default.nix +++ b/home/default.nix @@ -488,7 +488,14 @@ in controlMaster = "auto"; controlPersist = "10m"; serverAliveInterval = 1; + serverAliveCountMax = 3; }; + extraConfig = " + HostKeyAlgorithms ssh-ed25519-cert-v01@openssh.com,ssh-rsa-cert-v01@openssh.com,ssh-ed25519,ssh-rsa,ecdsa-sha2-nistp521-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp521,ecdsa-sha2-nistp384,ecdsa-sha2-nistp256 + KexAlgorithms curve25519-sha256@libssh.org,ecdh-sha2-nistp521,ecdh-sha2-nistp384,ecdh-sha2-nistp256,diffie-hellman-group-exchange-sha256 + MACs hmac-sha2-512-etm@openssh.com,hmac-sha2-256-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-512,hmac-sha2-256,umac-128@openssh.com + Ciphers chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr + "; }; }; |
