2022-07-30 17:49:04 +00:00
|
|
|
{
|
2022-07-31 19:23:28 +00:00
|
|
|
services.openssh = {
|
|
|
|
enable = true;
|
2023-01-22 12:50:29 +00:00
|
|
|
|
|
|
|
settings = {
|
|
|
|
PasswordAuthentication = false;
|
|
|
|
KbdInteractiveAuthentication = false;
|
2023-06-21 12:21:40 +00:00
|
|
|
PermitRootLogin = "prohibit-password";
|
2023-01-22 12:50:29 +00:00
|
|
|
};
|
2022-07-31 19:23:28 +00:00
|
|
|
};
|
2022-07-30 17:49:04 +00:00
|
|
|
}
|