16 lines
232 B
Nix
16 lines
232 B
Nix
_:
|
|
{
|
|
services = {
|
|
openssh = {
|
|
enable = true;
|
|
extraConfig = "
|
|
Port 51337
|
|
PermitRootLogin no
|
|
PasswordAuthentication no
|
|
MaxSessions 1
|
|
MaxAuthTries 1
|
|
";
|
|
};
|
|
};
|
|
}
|