diff options
author | Nick Van Doorn <nick@nvandoorn.com> | 2023-03-16 20:46:32 +0000 |
---|---|---|
committer | Nick Van Doorn <nick@nvandoorn.com> | 2023-03-16 20:46:32 +0000 |
commit | d21c83c323a1d1c94c01315d13597f0eb0619a93 (patch) | |
tree | 8e859e40fcf48e9a409b8cc0ab21c05657885bef | |
parent | 51189b65a21ab17ad0f0cd4b0f23984285a6c7c0 (diff) |
-rw-r--r-- | configuration.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/configuration.nix b/configuration.nix index 3cb6ef3..66035c1 100644 --- a/configuration.nix +++ b/configuration.nix @@ -127,7 +127,8 @@ # Enable the OpenSSH daemon. services.openssh.enable = true; - + services.openssh.permitRootLogin = "no"; + services.openssh.passwordAuthentication = false; # Open ports in the firewall. # networking.firewall.allowedTCPPorts = [ ... ]; # networking.firewall.allowedUDPPorts = [ ... ]; |