[Nix-dev] Dynamically changing authorized_keys to work with ssh-copy-id

Nikita Karetnikov nikita at karetnikov.org
Wed Apr 6 00:26:37 CEST 2016


On Wed, Apr 06, 2016 at 01:10:56AM +0300, Nikita Karetnikov wrote:
> I've been told on IRC (by clever) that it's somehow possible with the fields I'm
> using, but (after re-reading 'man configuration.nix') I can't think of
> a way to make it work.  So what are my options?  Perhaps there's a different
> (Nix way) of handling this which I haven't considered. 

Okay, I've asked again, though, I yet have to try it.  IIUC, the idea is to
not set 'keyFiles' (and use 'keys' if needed), which should make sshd check
'~/.ssh/authorized_keys'.


More information about the nix-dev mailing list