2022-12-04 13:45:43 +00:00
|
|
|
{lib, ...}: {
|
2021-12-28 23:10:59 +00:00
|
|
|
services.openssh = {
|
|
|
|
enable = true;
|
2023-02-09 15:22:55 +00:00
|
|
|
settings = {
|
|
|
|
PermitRootLogin = "prohibit-password";
|
|
|
|
PasswordAuthentication = false;
|
|
|
|
KbdInteractiveAuthentication = lib.mkDefault false;
|
|
|
|
StreamLocalBindUnlink = true;
|
2023-02-09 16:20:45 +00:00
|
|
|
KexAlgorithms = ["curve25519-sha256@libssh.org"];
|
2023-02-09 15:22:55 +00:00
|
|
|
LogLevel = "VERBOSE";
|
|
|
|
};
|
2021-12-28 23:10:59 +00:00
|
|
|
};
|
2021-12-28 22:06:26 +00:00
|
|
|
}
|