2024-02-12 12:59:02 +00:00
|
|
|
{...}: {
|
2023-05-26 08:52:46 +01:00
|
|
|
services.openssh = {
|
|
|
|
enable = true;
|
2024-01-30 14:21:50 +00:00
|
|
|
ports = [22];
|
2023-05-26 08:52:46 +01:00
|
|
|
settings = {
|
|
|
|
UseDns = true;
|
2024-03-10 08:07:48 +00:00
|
|
|
PermitRootLogin = "no";
|
2024-04-20 12:24:06 +01:00
|
|
|
PasswordAuthentication = true;
|
2023-05-26 08:52:46 +01:00
|
|
|
GatewayPorts = "yes";
|
|
|
|
LogLevel = "VERBOSE";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|