nixos/server/sshd.nix

14 lines
247 B
Nix

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