guix-commits
[Top][All Lists]
Advanced

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

branch master updated: sysadmin: Disable SSH password authentication.


From: Ricardo Wurmus
Subject: branch master updated: sysadmin: Disable SSH password authentication.
Date: Sun, 19 Dec 2021 08:30:27 -0500

This is an automated email from the git hooks/post-receive script.

rekado pushed a commit to branch master
in repository maintenance.

The following commit(s) were added to refs/heads/master by this push:
     new af72899  sysadmin: Disable SSH password authentication.
af72899 is described below

commit af72899a3adeb0aeb3a13ff7a5930ce5437eb5ce
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Sun Dec 19 14:29:06 2021 +0100

    sysadmin: Disable SSH password authentication.
    
    * hydra/modules/sysadmin/services.scm (frontend-services): Disable
    password authentication for openssh-service-type.
---
 hydra/modules/sysadmin/services.scm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/hydra/modules/sysadmin/services.scm 
b/hydra/modules/sysadmin/services.scm
index 6156855..e119b50 100644
--- a/hydra/modules/sysadmin/services.scm
+++ b/hydra/modules/sysadmin/services.scm
@@ -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



reply via email to

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