guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: openssh-service


From: Tomáš Čech
Subject: Re: openssh-service
Date: Mon, 07 Nov 2016 23:28:47 +0100
User-agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM/1.14.9 (Gojō) APEL/10.8 EasyPG/1.0.0 Emacs/25.1 (x86_64-unknown-linux-gnu) MULE/6.0 (HANACHIRUSATO)

On Mon, 03 Oct 2016 16:57:34 +0200,
ng0 wrote:
> 
> ng0 <address@hidden> writes:
> 
> > Can someone explain to the list how the example of the openssh-service
> > is supposed to fit into a default users config based on the regular
> > desktop.scm? So far I think this is a bad example but I have no idea how
> > to improve it.
> >
> > You will typically have
> >
> > (services (cons* (gnome-desktop-service)
> >                  (xfce-desktop-service)
> >                  %desktop-services))
> 
> Damn, the machine I tested this on I added one pair of parens which
> shouldn't have been there.
> 
>  (services (cons* (gnome-desktop-service)
>                   (xfce-desktop-service)
>                   (service
>                    openssh-service-type
>                    (openssh-configuration
>                    (x11-forwarding? #t)
>                    (permit-root-login 'without-password)))
>                   %desktop-services))
> 
> works. The error messages could be more intuitive :)
> 
> > When you do it by the book, the openssh-service will not work.
> >
> > Thanks to whoever worked on and added openssh by the way, it's a good
> > addition.
> >

It seems that originally there should have been `openssh-service' but
is not present in 86d8f6d3efb8300a3354735cbf06be6c01e23243, just
exported in gnu/services/ssh.scm:40.

So I guess there are now two possible choices:

a] remove export
b] provide openssh-service

Best regards,

S_W



reply via email to

[Prev in Thread] Current Thread [Next in Thread]