15 lines
251 B
Nix
15 lines
251 B
Nix
{ ... }:
|
|
{
|
|
services.openssh = {
|
|
enable = true;
|
|
ports = [ 2222 ];
|
|
settings = {
|
|
UseDns = true;
|
|
PermitRootLogin = "no";
|
|
PasswordAuthentication = false;
|
|
GatewayPorts = "yes";
|
|
LogLevel = "VERBOSE";
|
|
};
|
|
};
|
|
}
|