all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* openssh pubkeys as part of system config
@ 2017-03-16  9:51 ng0
  2017-03-17  8:02 ` Chris Marusich
  0 siblings, 1 reply; 4+ messages in thread
From: ng0 @ 2017-03-16  9:51 UTC (permalink / raw)
  To: guix-devel

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?

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: openssh pubkeys as part of system config
  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
  0 siblings, 1 reply; 4+ messages in thread
From: Chris Marusich @ 2017-03-17  8:02 UTC (permalink / raw)
  To: guix-devel

[-- Attachment #1: Type: text/plain, Size: 858 bytes --]

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

Try searching for the words "authorized" and "key".  The link to IRC at
the very bottom might be helpful.

-- 
Chris

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: openssh pubkeys as part of system config
  2017-03-17  8:02 ` Chris Marusich
@ 2017-03-18 14:07   ` Ludovic Courtès
  2017-03-18 16:50     ` ng0
  0 siblings, 1 reply; 4+ messages in thread
From: Ludovic Courtès @ 2017-03-18 14:07 UTC (permalink / raw)
  To: Chris Marusich; +Cc: guix-devel

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’.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: openssh pubkeys as part of system config
  2017-03-18 14:07   ` Ludovic Courtès
@ 2017-03-18 16:50     ` ng0
  0 siblings, 0 replies; 4+ messages in thread
From: ng0 @ 2017-03-18 16:50 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: guix-devel

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'.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-03-18 15:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.