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;
|
2023-10-22 06:52:38 +01:00
|
|
|
PermitRootLogin = "without-password";
|
2023-05-26 08:52:46 +01:00
|
|
|
PasswordAuthentication = false;
|
|
|
|
GatewayPorts = "yes";
|
|
|
|
LogLevel = "VERBOSE";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|