feat(ssh): Allow ecdsa-sha2-nistp256 keys

This commit is contained in:
Inex Code 2023-10-03 16:34:47 +03:00 committed by Alexander Tomokhov
parent f9b86f403d
commit a8aca42762

View file

@ -62,7 +62,7 @@
openFirewall = false;
};
programs.ssh = {
pubkeyAcceptedKeyTypes = [ "ssh-ed25519" "ssh-rsa" ];
pubkeyAcceptedKeyTypes = [ "ssh-ed25519" "ssh-rsa" "ecdsa-sha2-nistp256" ];
hostKeyAlgorithms = [ "ssh-ed25519" "ssh-rsa" ];
};
environment.systemPackages = with pkgs; [