cbaines pushed a commit to branch master
in repository maintenance.

commit 80daeec9828926f4969ef6b29d2b496864fe6d16
Author: Christopher Baines <[email protected]>
AuthorDate: Wed Apr 26 08:02:44 2023 +0100

    sysadmin: overdrive: Disable ssh password authentication.
    
    * hydra/modules/sysadmin/overdrive.scm (overdrive-system): Change the
    openssh-configuration password-authentication? to #f.
---
 hydra/modules/sysadmin/overdrive.scm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/hydra/modules/sysadmin/overdrive.scm 
b/hydra/modules/sysadmin/overdrive.scm
index 1e62302..ca650eb 100644
--- a/hydra/modules/sysadmin/overdrive.scm
+++ b/hydra/modules/sysadmin/overdrive.scm
@@ -117,6 +117,7 @@
      (cons*
       (service openssh-service-type
                (openssh-configuration
+                (password-authentication? #f)
                 (authorized-keys
                  `(("ludo" ,(local-file "../../keys/ssh/ludo.pub"))
                    ("rekado" ,(local-file "../../keys/ssh/rekado.pub"))

Reply via email to