guix-commits
[Top][All Lists]
Advanced

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

branch master updated: services: ssh: Fix extend-openssh-authorized-keys


From: guix-commits
Subject: branch master updated: services: ssh: Fix extend-openssh-authorized-keys.
Date: Thu, 26 May 2022 01:24:03 -0400

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

wigust pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 1f29ed4a81 services: ssh: Fix extend-openssh-authorized-keys.
1f29ed4a81 is described below

commit 1f29ed4a812f86c45e2d9c37fd9f80f6d0418293
Author: Oleg Pykhalov <go.wigust@gmail.com>
AuthorDate: Thu May 26 08:10:01 2022 +0300

    services: ssh: Fix extend-openssh-authorized-keys.
    
    Fixes #55359.
    
    * gnu/services/ssh.scm (extend-openssh-authorized-keys): Use KEYS argument.
---
 gnu/services/ssh.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/services/ssh.scm b/gnu/services/ssh.scm
index be5d029374..95646ac033 100644
--- a/gnu/services/ssh.scm
+++ b/gnu/services/ssh.scm
@@ -571,7 +571,7 @@ of user-name/file-like tuples."
   (openssh-configuration
    (inherit config)
    (authorized-keys
-    (match (openssh-configuration-authorized-keys config)
+    (match (append (openssh-configuration-authorized-keys config) keys)
       (((users _ ...) ...)
        ;; Build a user/key-list mapping.
        (let ((user-keys (alist->vhash



reply via email to

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