nanopi: disable SSH logins with passwords
1 file changed, 4 insertions(+), 0 deletions(-)
jump to
M system/nanopi.nix → system/nanopi.nix
@@ -200,6 +200,10 @@ services.openssh = { enable = true; openFirewall = true; startWhenNeeded = false; + settings = { + PasswordAuthentication = false; + KbdInteractiveAuthentication = false; + }; }; programs.mosh.enable = true; services.sshguard = {