From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: Re: Use OpenSSH in the bare-bones GuixSD template [was Re: how to "install" guixsd on a digitalocean server] Date: Sat, 8 Apr 2017 21:48:11 -0400 Message-ID: <20170409014811.GA15078@jasmine> References: <87pogo8lqj.fsf@pobox.com> <20170407134208.GC26088@jasmine> <87inmguh17.fsf@gnu.org> <20170409014217.GA15018@jasmine> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="PNTmBPCT7hxwcZjr" Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37088) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cx1xi-0001zE-KO for guix-devel@gnu.org; Sat, 08 Apr 2017 21:48:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cx1xf-0006tF-JV for guix-devel@gnu.org; Sat, 08 Apr 2017 21:48:18 -0400 Content-Disposition: inline In-Reply-To: <20170409014217.GA15018@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: Ludovic =?iso-8859-1?Q?Court=E8s?= Cc: guix-devel@gnu.org --PNTmBPCT7hxwcZjr Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit 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 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... --PNTmBPCT7hxwcZjr Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="0001-doc-Use-OpenSSH-instead-of-lsh-in-bare-bones-templat.patch" >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. * 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 --PNTmBPCT7hxwcZjr--