reNixos/kyra/services/openssh.nix
s0me1newithhand7s 91d145fc9b s0mev1rtn0de-nix -> kyra + {hazel, lynn, ivy, mel}: rename + modularity
Signed-off-by: s0me1newithhand7s <git+me@hand7s.org>
2026-02-08 22:53:20 +03:00

23 lines
485 B
Nix

_: {
services = {
openssh = {
enable = true;
ports = [
58693
];
settings = {
PrintMotd = false;
PermitRootLogin = "no";
PasswordAuthentication = false;
MaxAuthTries = 3;
LoginGraceTime = 10;
PermitEmptyPasswords = "no";
ChallengeResponseAuthentication = "no";
KerberosAuthentication = "no";
GSSAPIAuthentication = "no";
X11Forwarding = false;
};
};
};
}