diff options
author | Alan Pearce | 2024-05-28 10:19:07 +0200 |
---|---|---|
committer | Alan Pearce | 2024-05-28 10:19:07 +0200 |
commit | 68de0136c965c6549e39f7ca6d83be9f781aca6a (patch) | |
tree | ab2f7450f8be3790fd28b827d8755e106da84f1d | |
parent | a1edb7d39b6561a493c151a47b24cddf5378f1f9 (diff) | |
download | nixfiles-68de0136c965c6549e39f7ca6d83be9f781aca6a.tar.lz nixfiles-68de0136c965c6549e39f7ca6d83be9f781aca6a.tar.zst nixfiles-68de0136c965c6549e39f7ca6d83be9f781aca6a.zip |
nanopi: disable SSH logins with passwords
-rwxr-xr-x | system/nanopi.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/system/nanopi.nix b/system/nanopi.nix index 1fe720d7..4c91c787 100755 --- a/system/nanopi.nix +++ b/system/nanopi.nix @@ -200,6 +200,10 @@ in enable = true; openFirewall = true; startWhenNeeded = false; + settings = { + PasswordAuthentication = false; + KbdInteractiveAuthentication = false; + }; }; programs.mosh.enable = true; services.sshguard = { |