ssh.nix: accept ecdsa
This commit is contained in:
parent
2ef3ffa05e
commit
bb45d93cb5
1 changed files with 5 additions and 0 deletions
|
@ -4,6 +4,11 @@ in {
|
|||
options.modules.programs.ssh.enable = mkEnableOption "ssh";
|
||||
config = {
|
||||
programs.ssh.startAgent = true;
|
||||
programs.ssh.pubkeyAcceptedKeyTypes = [
|
||||
"ssh-rsa"
|
||||
"ecdsa-sha2-nistp521"
|
||||
];
|
||||
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
ports = [8997];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue