about summary refs log tree commit diff
path: root/hosts/common/system
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--hosts/common/system/ssh.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/hosts/common/system/ssh.nix b/hosts/common/system/ssh.nix
index 0ecca80..cb7c47d 100644
--- a/hosts/common/system/ssh.nix
+++ b/hosts/common/system/ssh.nix
@@ -2,4 +2,5 @@
   # Enable the OpenSSH daemon.
   services.openssh.enable = true;
   services.openssh.permitRootLogin = "yes";
+  services.openssh.passwordAuthentication = false;
 }