[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#26548: [PATCH] install: Enable SSH in installation image.
From: |
Marius Bakke |
Subject: |
bug#26548: [PATCH] install: Enable SSH in installation image. |
Date: |
Tue, 18 Apr 2017 01:01:21 +0200 |
User-agent: |
Notmuch/0.24.1 (https://notmuchmail.org) Emacs/25.1.1 (x86_64-unknown-linux-gnu) |
ng0 <address@hidden> writes:
> Marius Bakke transcribed 1.5K bytes:
>> Leo Famulari <address@hidden> writes:
>>
>> > On Mon, Apr 17, 2017 at 11:30:30PM +0200, Marius Bakke wrote:
>> >> 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.
>> >
>> > I wonder, did you consider using OpenSSH instead? Are there any
>> > advantages to using lsh here?
>>
>> I chose lsh mostly because I thought the GNU live image should use the
>> GNU ssh implementation. For the intended usage (logging in once with a
>> password to complete the installation), there is no difference to the
>> end user. No strong opinion though :-)
>
>
> Uhm, didn't we choose to default to OpenSSH in the config? Why should the
> installation
> image differ?
>
> There were good reasons against lsh mentioned in the thread.
The only argument I can see is that ~/.ssh/authorized_keys is not
working out of the box. Which is not a huge problem in the ephemeral
live image since most users will just set a password and use that,
instad of copying over or typing out their public key first.
But, I don't have a strong opinion on this and will leave the decision
to those who will ultimately sign this thing and offer to end users (if
networking support is desired at all) :-)
signature.asc
Description: PGP signature
bug#26548: [PATCH] install: Enable SSH in installation image., Ludovic Courtès, 2017/04/18