[Nix-dev] [PATCH] authorized_keys in users.extraUsers

Ludovic Courtès ludo at gnu.org
Wed Oct 19 14:47:35 CEST 2011


Hi Nicolas,

Nicolas Pierron <nicolas.b.pierron at gmail.com> skribis:

> 2011/10/18 Ludovic Courtès <ludo at gnu.org>:

[...]

>> I think Nicolas was referring to the fact that these files are only of
>> interest to the OpenSSH daemon, and not to other SSH implementations
>> such as GNU lsh.
>>
>> So you would want to make sure the ‘authorizedKeys’ option is accepted
>> if and only if ‘services.openssh.enable’ is true, for instance, and/or
>> rename it to ‘user.<name>.openssh.authorizedKeys’.
>
> The option should always be accepted but the value may not be used if
> you don't enable openssh.

Yes.  In that case, it makes even more sense to rename it to
openssh.authorizedKeys.

Thanks,
Ludo’.


More information about the nix-dev mailing list