From 6f3c2b3b8aa7bee151bc232fbf266075e49bd132 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Wed, 15 Dec 2021 19:19:07 +0100 Subject: openssh: ... --- system-profiles/openssh/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'system-profiles/openssh') diff --git a/system-profiles/openssh/default.nix b/system-profiles/openssh/default.nix index cd7ec025..464f6b0f 100644 --- a/system-profiles/openssh/default.nix +++ b/system-profiles/openssh/default.nix @@ -22,7 +22,7 @@ programs.ssh = { ciphers = [ "chacha20-poly1305@openssh.com" "aes256-gcm@openssh.com" "aes256-ctr" ]; - hostKeyAlgorithms = [ "ssh-ed25519-cert-v01@openssh.com" "ssh-rsa-cert-v01@openssh.com" "ssh-ed25519" "ssh-rsa" ]; + hostKeyAlgorithms = [ "sk-ssh-ed25519-cert-v01@openssh.com" "ssh-ed25519-cert-v01@openssh.com" "rsa-sha2-256-cert-v01@openssh.com" "rsa-sha2-512-cert-v01@openssh.com" "sk-ssh-ed25519@openssh.com" "ssh-ed25519" "rsa-sha2-256" "rsa-sha2-512" ]; kexAlgorithms = [ "curve25519-sha256@libssh.org" "diffie-hellman-group-exchange-sha256" ]; macs = [ "hmac-sha2-256-etm@openssh.com" "hmac-sha2-256" "hmac-sha2-512-etm@openssh.com" "hmac-sha2-512" ]; pubkeyAcceptedKeyTypes = [ "ssh-ed25519" "ssh-rsa" ]; -- cgit v1.2.3