[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Manage ssh public keys?
From: |
宋文武 |
Subject: |
Re: Manage ssh public keys? |
Date: |
Fri, 10 Apr 2015 17:28:18 +0800 |
User-agent: |
Notmuch/0.18.1 (http://notmuchmail.org) Emacs/24.4.1 (x86_64-unknown-linux-gnu) |
Ludovic Courtès <address@hidden> writes:
> As discussed on IRC, there are several issues, such as the choice of the
> SSH implementation (lshd uses ‘lsh-authorize’ to add authorized keys,
> not ~/.ssh/authorized_keys.) That complicates things.
>
> However, as David suggests, we could have a per-account list of files to
> install. I can imagine something like:
>
> (user-account
> (name "joe")
> ;; ...
> (files `((".ssh/authorized_keys" ,(local-file "my-authorized-keys"))
> (".emacs.d/foo.el" ,(local-file "foo.el")))))
>
> Now, how should that be handled upon ‘reconfigure’? By just overriding
> those files? Probably, I guess.
>
> Also, should they be symlinks to the store or copies?
How about use symlinks, but:
- create them if they are not exists.
- update them if they are symlinks to /gnu/store.
- warn and do nothing about them if they aren't symlinks to store.
So users won't lost the changes they made.
>
> Ludo’.
- Manage ssh public keys?, Joe Hillenbrand, 2015/04/09
- Re: Manage ssh public keys?, David Thompson, 2015/04/09
- Re: Manage ssh public keys?, Ludovic Courtès, 2015/04/09
- Re: Manage ssh public keys?, Joe Hillenbrand, 2015/04/09
- Re: Manage ssh public keys?, Ludovic Courtès, 2015/04/09
- Re: Manage ssh public keys?,
宋文武 <=
- Re: Manage ssh public keys?, Ludovic Courtès, 2015/04/10
- Re: Manage ssh public keys?, David Thompson, 2015/04/10
- Re: Manage ssh public keys?, Joe Hillenbrand, 2015/04/10
- Re: Manage ssh public keys?, Ludovic Courtès, 2015/04/10
- Re: Manage ssh public keys?, David Thompson, 2015/04/10
- Re: Manage ssh public keys?, Ludovic Courtès, 2015/04/11