From mboxrd@z Thu Jan 1 00:00:00 1970 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 Message-ID: <20170409090845.mi4gmo57olhbauri@abyayala> References: <87pogo8lqj.fsf@pobox.com> <20170407134208.GC26088@jasmine> <87inmguh17.fsf@gnu.org> <20170409014217.GA15018@jasmine> <20170409014811.GA15078@jasmine> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50915) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cx8qH-0000bd-2j for guix-devel@gnu.org; Sun, 09 Apr 2017 05:09:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cx8qC-0004H6-CI for guix-devel@gnu.org; Sun, 09 Apr 2017 05:09:05 -0400 Content-Disposition: inline In-Reply-To: <20170409014811.GA15078@jasmine> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Leo Famulari Cc: guix-devel@gnu.org 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=C3=A8s wrote: > > > Leo Famulari skribis: > > >=20 > > > > 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 lo= oking 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. > > >=20 > > > I agree with this change (lsh upstream hasn=E2=80=99t been receivin= g the > > > attention I was hoping for.) > >=20 > > Here's a patch for discussion. >=20 > 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 > Date: Sat, 8 Apr 2017 21:38:54 -0400 > Subject: [PATCH] doc: Use OpenSSH instead of lsh in bare-bones template= . >=20 > * gnu/system/examples/bare-bones.tmpl (services): Use openssh-service-t= ype > instead of lsh-service. > --- > gnu/system/examples/bare-bones.tmpl | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) >=20 > 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))) > --=20 > 2.12.2 >=20