fix(nasp): disable ssh password auth
This commit is contained in:
parent
0d842b7dc9
commit
2ae1dc3031
|
@ -75,6 +75,7 @@ in
|
|||
services.cron.enable = true;
|
||||
services.openssh.enable = true;
|
||||
services.openssh.settings.PermitRootLogin = "prohibit-password";
|
||||
services.openssh.settings.PasswordAuthentication = false;
|
||||
services.openssh.authorizedKeysFiles = [ ".ssh/authorized_keys2" ];
|
||||
services.openssh.ports = [ 12022 ];
|
||||
systemd.targets.sleep.enable = false;
|
||||
|
|
Loading…
Reference in New Issue
Block a user