unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: ng0 <contact.ng0@cryptolab.net>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: guix-devel@gnu.org
Subject: Re: openssh pubkeys as part of system config
Date: Sat, 18 Mar 2017 16:50:05 +0000	[thread overview]
Message-ID: <20170318165005.biqdtl43lzgxilpr@abyayala> (raw)
In-Reply-To: <877f3m65lg.fsf@gnu.org>

Ludovic Courtès transcribed 1.1K bytes:
> Hi,
> 
> Chris Marusich <cmmarusich@gmail.com> skribis:
> 
> > ng0 <contact.ng0@cryptolab.net> writes:
> >
> >> Hi,
> >>
> >> I will soon start to assemble an GuixSD system image for IN-Berlin
> >> virtual servers.
> >> I know bayfront uses a module which defines lsh pubkeys for user 'root'
> >> (?) and makes them part of the system generation.
> >>
> >> For IN-Berlin (and probably other hosters) it would help if there was a
> >> way to define openssh pubkeys in the system config.
> >> I know I could just generate an image, make it writable and put my key
> >> into /root/.ssh/authorized_keys, but it would be better if this would be
> >> possible to define directly.
> >>
> >> Has someone looked into this before?
> >
> > I only know of this discussion:
> >
> > https://lists.gnu.org/archive/html/help-guix/2016-11/msg00075.html
> 
> For bayfront, we have a module to declare authorized publish SSH keys,
> but that currently relies on lshd rather than sshd:
> 
>   https://git.savannah.gnu.org/cgit/guix/maintenance.git/tree/hydra/modules/sysadmin/people.scm
> 
> It’s a common need so we should move it to Guix proper and implement the
> same thing for OpenSSH.
> 
> HTH,
> Ludo’.
> 

I've seen the module, and tried to make use of it personally, but LSH
feels unfinished when you've used OpenSSH for years. For example the way
lsh suggests you to replicate 'scp' of OpenSSH.

I only know of a handful of hosters who deal with SSH keys directly, so
I don't know how common this case is.
Nevertheless I think many people would appreciate if this were added to
Guix 'canon'.

      reply	other threads:[~2017-03-18 15:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-16  9:51 openssh pubkeys as part of system config ng0
2017-03-17  8:02 ` Chris Marusich
2017-03-18 14:07   ` Ludovic Courtès
2017-03-18 16:50     ` ng0 [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170318165005.biqdtl43lzgxilpr@abyayala \
    --to=contact.ng0@cryptolab.net \
    --cc=guix-devel@gnu.org \
    --cc=ludo@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).