nanopi: disable SSH logins with passwords
Alan Pearce alan@alanpearce.eu
Tue, 28 May 2024 10:19:07 +0200
1 files 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 = {