Enable ssh for host key generation.
This commit is contained in:
parent
60b72e5595
commit
f16e385288
1 changed files with 7 additions and 0 deletions
|
@ -128,4 +128,11 @@
|
||||||
};
|
};
|
||||||
wantedBy = [ "default.target" ];
|
wantedBy = [ "default.target" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Enable the OpenSSH daemon.
|
||||||
|
services.openssh = {
|
||||||
|
enable = true;
|
||||||
|
settings.PasswordAuthentication = false;
|
||||||
|
settings.KbdInteractiveAuthentication = false;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue