nixos-config/hosts/thinkpad/openssh.nix
2023-09-21 13:50:00 -04:00

11 lines
199 B
Nix

{ ... }:
{
services.openssh = {
enable = true;
settings = {
PasswordAuthentication = false;
challengeResponseAuthentication = false;
PermitRootLogin = "no";
};
};
}