guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

03/03: sysadmin: overdrive: Disable ssh password authentication.


From: Christopher Baines
Subject: 03/03: sysadmin: overdrive: Disable ssh password authentication.
Date: Wed, 26 Apr 2023 03:04:07 -0400 (EDT)

cbaines pushed a commit to branch master
in repository maintenance.

commit 80daeec9828926f4969ef6b29d2b496864fe6d16
Author: Christopher Baines <mail@cbaines.net>
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

[Prev in Thread] Current Thread [Next in Thread]