sysadmin: Disable SSH password authentication.

* hydra/modules/sysadmin/services.scm (frontend-services): Disable
password authentication for openssh-service-type.
This commit is contained in:
Ricardo Wurmus 2021-12-19 14:29:06 +01:00
parent 9a60c45f86
commit af72899a3a
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 3 additions and 1 deletions

View File

@ -578,7 +578,9 @@ to a selected directory.")
#:systems systems
#:nar-ttl nar-ttl)
(service openssh-service-type)
(service openssh-service-type
(openssh-configuration
(password-authentication? #f)))
(service sysadmin-service-type sysadmins)
(append (if nginx-config-file