2024-10-30 08:06:52 +00:00
|
|
|
{...}: {
|
2024-10-31 08:24:05 +00:00
|
|
|
services.openssh.enable = true;
|
2024-10-30 08:06:52 +00:00
|
|
|
services.openssh.settings = {
|
2024-10-31 08:28:16 +00:00
|
|
|
PermitRootLogin = "prohibit-password";
|
|
|
|
PasswordAuthentication = false;
|
2024-10-30 08:06:52 +00:00
|
|
|
};
|
|
|
|
networking.firewall.allowedTCPPorts = [22];
|
|
|
|
}
|