2024-07-30 15:06:34 +01:00
|
|
|
{ ... }:
|
|
|
|
{
|
2023-05-26 08:52:46 +01:00
|
|
|
services.openssh = {
|
|
|
|
enable = true;
|
2024-07-30 15:06:34 +01: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";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|