guix-devel
[Top][All Lists]
Advanced

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

Re: Use OpenSSH in the bare-bones GuixSD template [was Re: how to "insta


From: ng0
Subject: Re: Use OpenSSH in the bare-bones GuixSD template [was Re: how to "install" guixsd on a digitalocean server]
Date: Sun, 9 Apr 2017 09:08:45 +0000

Leo Famulari transcribed 2.1K bytes:
> On Sat, Apr 08, 2017 at 09:42:17PM -0400, Leo Famulari wrote:
> > On Fri, Apr 07, 2017 at 09:57:56PM +0200, Ludovic Courtès wrote:
> > > Leo Famulari <address@hidden> skribis:
> > > 
> > > > On Fri, Apr 07, 2017 at 02:07:16PM +0200, Andy Wingo wrote:
> > > >>  (3) Why do we promote lsh by default?  It took me quite some looking 
> > > >> to
> > > >>      figure out why my authorized_keys wasn't working.  The fix was to
> > > >>      just use OpenSSH.
> > > >
> > > > lsh is a GNU project and we did not have an OpenSSH service until a few
> > > > months ago. I'm in favor of changing the OS declaration templates to use
> > > > OpenSSH.
> > > 
> > > I agree with this change (lsh upstream hasn’t been receiving the
> > > attention I was hoping for.)
> > 
> > Here's a patch for discussion.
> 
> And the patch...

What you added here is opensshd listening on port 2222 with
password-logins allowed, correct?

> From bac586572af3fdc720f1ff2c873864fd4c1ebf05 Mon Sep 17 00:00:00 2001
> From: Leo Famulari <address@hidden>
> Date: Sat, 8 Apr 2017 21:38:54 -0400
> Subject: [PATCH] doc: Use OpenSSH instead of lsh in bare-bones template.
> 
> * gnu/system/examples/bare-bones.tmpl (services): Use openssh-service-type
> instead of lsh-service.
> ---
>  gnu/system/examples/bare-bones.tmpl | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/gnu/system/examples/bare-bones.tmpl 
> b/gnu/system/examples/bare-bones.tmpl
> index 222ddda57..f7b8823d4 100644
> --- a/gnu/system/examples/bare-bones.tmpl
> +++ b/gnu/system/examples/bare-bones.tmpl
> @@ -43,5 +43,7 @@
>    ;; Add services to the baseline: a DHCP client and
>    ;; an SSH server.
>    (services (cons* (dhcp-client-service)
> -                   (lsh-service #:port-number 2222)
> +                   (service openssh-service-type
> +                            (openssh-configuration
> +                              (port-number 2222)))
>                     %base-services)))
> -- 
> 2.12.2
> 




reply via email to

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