Files
flocon/system/core/ssh-server.nix
2025-05-16 15:46:47 +02:00

15 lines
343 B
Nix

{
services.openssh = {
enable = true;
settings = {
# PermitRootLogin = "no";
PasswordAuthentication = false;
KbdInteractiveAuthentication = false;
AuthenticationMethods = "publickey";
PubkeyAuthentication = "yes";
ChallengeResponseAuthentication = "no";
X11Forwarding = false;
};
};
}