Re: [PATCH] openssh service

2016-10-03 Thread Ludovic Courtès
l...@gnu.org (Ludovic Courtès) skribis: > I also added a basic system test in > d5b0c9024ed174907aed4816b2607ada814a035c. It makes sure that sshd is > started and that we can connect to it as root with an empty password, as > specified in the system config. Commit 2b4363891c70bbf641bff8ff0a6fb75

Re: [PATCH] openssh service

2016-10-02 Thread Ludovic Courtès
l...@gnu.org (Ludovic Courtès) skribis: > Julien Lepiller skribis: [...] >> From cf879a47c8f9b0733fac906cd4bd28dc646aa9fb Mon Sep 17 00:00:00 2001 >> From: Julien Lepiller >> Date: Fri, 5 Aug 2016 15:20:15 +0200 >> Subject: [PATCH] services: Add openssh >> >> * gnu/packages/ssh.scm: Openssh re

Re: [PATCH] openssh service

2016-09-29 Thread Ludovic Courtès
Hi Julien, Julien Lepiller skribis: > Sorry for the delay, here is a new version of the patch. > > Meanwhile, sysconfdir was set to /etc, but I changed this for /etc/ssh, > because openssh looks for its configuration and other files (about 10) > directly in sysconfdir, not a subdirectory. Also,

Re: [PATCH] openssh service

2016-09-26 Thread Julien Lepiller
On Fri, 26 Aug 2016 12:51:56 +0200 Andy Wingo wrote: > Hi Julien, > > Thanks for the documentation update! > > On Fri 19 Aug 2016 16:31, Julien Lepiller writes: > > > +@deffn {Scheme Procedure} openssh-service [#:pidfile > > "/var/run/sshd.pid"] @ > > + [#:port-number 22] [#:root-login

Re: [PATCH] openssh service

2016-08-29 Thread Ludovic Courtès
Hi Julien, I just discovered this patch as I go through my backlog, which is fun because I used sshd as an example to illustrate how GuixSD services work just a week ago. :-) Julien Lepiller skribis: > +@deffn {Scheme Procedure} openssh-service [#:pidfile "/var/run/sshd.pid"] @ #:pid-file >

Re: [PATCH] openssh service

2016-08-26 Thread Andy Wingo
Hi Julien, Thanks for the documentation update! On Fri 19 Aug 2016 16:31, Julien Lepiller writes: > +@deffn {Scheme Procedure} openssh-service [#:pidfile "/var/run/sshd.pid"] @ > + [#:port-number 22] [#:root-login "without-password"] @ > + [#:allow-empty-passwords #f] [#:password-au

Re: [PATCH] openssh service

2016-08-19 Thread Julien Lepiller
On Fri, 19 Aug 2016 16:15:48 +0200 Vincent Legoll wrote: > Hello, > > On Fri, Aug 19, 2016 at 4:03 PM, Julien Lepiller > wrote: > > Does that mean I need to add an entry to the manual myself (if so, > > could you tell me what file to edit?) > > I think that would be doc/guix.texi > in http:/

Re: [PATCH] openssh service

2016-08-19 Thread Vincent Legoll
Hello, On Fri, Aug 19, 2016 at 4:03 PM, Julien Lepiller wrote: > Does that mean I need to add an entry to the manual myself (if so, could > you tell me what file to edit?) I think that would be doc/guix.texi in http://git.savannah.gnu.org/cgit/guix.git -- Vincent Legoll

Re: [PATCH] openssh service

2016-08-19 Thread Julien Lepiller
On Fri, 5 Aug 2016 16:20:49 +0200 Julien Lepiller wrote: > On Fri, 05 Aug 2016 15:47:50 +0200 > Andy Wingo wrote: > > > On Fri 05 Aug 2016 14:18, Julien Lepiller > > writes: > > > here is a patch that adds a service definition for openssh. > > > > Very nice! > > > > > + (let ((pi

Re: [PATCH] openssh service

2016-08-05 Thread Julien Lepiller
On Fri, 05 Aug 2016 15:47:50 +0200 Andy Wingo wrote: > On Fri 05 Aug 2016 14:18, Julien Lepiller writes: > > > here is a patch that adds a service definition for openssh. > > Very nice! > > > + (let ((pid (primitive-fork))) > > +(case pid > > + ((0) > > + (ex

Re: [PATCH] openssh service

2016-08-05 Thread Andy Wingo
On Fri 05 Aug 2016 14:18, Julien Lepiller writes: > here is a patch that adds a service definition for openssh. Very nice! > + (let ((pid (primitive-fork))) > +(case pid > + ((0) > + (execl (string-append #$openssh "/bin/ssh-keygen") > + "ssh-key

[PATCH] openssh service

2016-08-05 Thread Julien Lepiller
Hello, here is a patch that adds a service definition for openssh. Regards, Julien Lepiller>From 592ab25424b2685238e31a3e2473e31a45bea4e5 Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Fri, 5 Aug 2016 15:20:15 +0200 Subject: [PATCH] services: Add openssh * gnu/packages/ssh.scm: Openssh re