From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 18 04:43:56 2017 Received: (at 26548) by debbugs.gnu.org; 18 Apr 2017 08:43:56 +0000 Received: from localhost ([127.0.0.1]:53415 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d0Ojq-00030u-Tf for submit@debbugs.gnu.org; Tue, 18 Apr 2017 04:43:56 -0400 Received: from eggs.gnu.org ([208.118.235.92]:38373) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d0Ojp-00030h-IM for 26548@debbugs.gnu.org; Tue, 18 Apr 2017 04:43:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d0Ojf-0006Xp-J2 for 26548@debbugs.gnu.org; Tue, 18 Apr 2017 04:43:48 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:57474) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d0Ojf-0006Xl-Fc; Tue, 18 Apr 2017 04:43:43 -0400 Received: from [193.50.110.90] (port=46616 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1d0Oje-0007Cc-Uw; Tue, 18 Apr 2017 04:43:43 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Marius Bakke Subject: Re: bug#26548: [PATCH] install: Enable SSH in installation image. References: <20170417213030.1489-1-mbakke@fastmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 29 Germinal an 225 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-unknown-linux-gnu Date: Tue, 18 Apr 2017 10:43:41 +0200 In-Reply-To: <20170417213030.1489-1-mbakke@fastmail.com> (Marius Bakke's message of "Mon, 17 Apr 2017 23:30:30 +0200") Message-ID: <87inm2rtqa.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 26548 Cc: 26548@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Hello! Marius Bakke skribis: > Hi Guix! This patch adds an SSH server to the installation image > to aid remote installations as requested in > https://lists.gnu.org/archive/html/help-guix/2017-01/msg00047.html > > lsh-service depends on networking, so I pulled in a DHCP client too. > It increases the image size by about 29MiB. > > * gnu/system/install.scm (%installation-services): Add DHCP-CLIENT-SERVICE > and LSH-SERVICE. [...] > + ;; Add a DHCP client for networking. > + (dhcp-client-service) This is a problem: in the installation instructions, we tell people to configure networking (possibly wireless) by hand, so we cannot expect the DHCP client to work directly when the image is booted. Also, the installation instructions would need to be updated. However, what we could do, instead, is to add an SSH service that is off by default (with (start? #f)) and does not depend on =E2=80=98networking=E2= =80=99. That way, people would only need to type herd start ssh-daemon to get the thing up and running. WDYT? > + ;; Add an SSH server to facilitate remote installs. > + (lsh-service #:port-number 22 I agree with others that we should use OpenSSH here. :-) Thanks, Ludo=E2=80=99.