[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#51487: Acknowledgement (The openssh service does not allow multiple
From: |
Vivien Kraus |
Subject: |
bug#51487: Acknowledgement (The openssh service does not allow multiple authorized key files per user) |
Date: |
Fri, 29 Oct 2021 18:45:48 +0200 |
User-agent: |
mu4e 1.6.6; emacs 27.2 |
Vivien Kraus <vivien@planete-kraus.eu> writes:
> I have a patch, what do you think?
>
> I tested it by building an operating system of the form:
>
> (operating-system
> ...
> (services
> (append
> (list
> (service openssh-service-type
> (openssh-configuration
> (authorized-keys
> `(("root" ,(plain-file "first-key" "ssh-rsa ..."))
> ("root" ,(plain-file "second-key" "ssh-rsa ..."))))))))))
>
> I caught the derivation to build the authorized-keys directory, and root
> had 2 keys. Without the patch, root had only 1 key.
The patch wasn’t formatted correctly, sorry.
<<< message/external-body; name="~/Projets/guix/0001-gnu-openssh-service-Collect-all-keys-for-all-users.patch"; access-type=local-file: Unrecognized >>>
>
> Vivien