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

This commit is contained in:
Inex Code 2023-10-03 16:34:47 +03:00
parent e417c57a60
commit f11d8cc902

View file

@ -69,7 +69,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; [