Merge pull request 'Disable Password authentication in SSH' (#9) from ssh-disable-password into main

Reviewed-on: pub-solar/infra-new#9
pull/5/head
b12f 2023-10-28 12:04:56 +02:00
commit 02e570c85a
Signed by: pub.solar gitea
GPG Key ID: F0332B04B7054873
1 changed files with 1 additions and 0 deletions

View File

@ -59,6 +59,7 @@
virtualisation.docker.enable = true;
services.openssh.enable = true;
services.openssh.settings.PermitRootLogin = "prohibit-password";
services.openssh.settings.PasswordAuthentication = false;
};
# NixOS specific configuration