[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: openssh installed, but ssh-daemon not starting
From: |
Thompson, David |
Subject: |
Re: openssh installed, but ssh-daemon not starting |
Date: |
Fri, 10 Nov 2017 07:45:29 -0500 |
Hello Marco,
On Fri, Nov 10, 2017 at 3:16 AM, Marco van Hulten <address@hidden> wrote:
> ```
> address@hidden ~# guix package -i openssh
> substitute: updating list of substitutes from
> 'https://mirror.hydra.gnu.org'... substitute: updating list of substitutes
> from 'https://mirror.hydra.gnu.org'... 100.0%
> substitute: updating list of substitutes from
> 'https://mirror.hydra.gnu.org'... substitute: updating list of substitutes
> from 'https://mirror.hydra.gnu.org'... 100.0%
> substitute: updating list of substitutes from
> 'https://mirror.hydra.gnu.org'... substitute: updating list of substitutes
> from 'https://mirror.hydra.gnu.org'... 100.0%
> The following package will be upgraded:
> openssh 7.6p1 → 7.6p1
> /gnu/store/j0lzcal5r3y4x4bhfq2ksfn2xirdhqhl-openssh-7.6p1
>
> substitute: updating list of substitutes from
> 'https://mirror.hydra.gnu.org'... substitute: updating list of substitutes
> from 'https://mirror.hydra.gnu.org'... substitute: updating list of
> substitutes from 'https://mirror.hydra.gnu.org'... 100.0%
> substitute: updating list of substitutes from
> 'https://mirror.hydra.gnu.org'... substitute: updating list of substitutes
> from 'https://mirror.hydra.gnu.org'... 100.0%
> The following derivations will be built:
> /gnu/store/hfqadrr4am10d6lwwcwgfk148yrgybr1-profile.drv
> /gnu/store/ypc6gq61shfmp1pcxzhig5ygzi4a6hs5-ca-certificate-bundle.drv
> /gnu/store/r7arxs6qlf8iix56r7yv6qiqnjzf8wmp-fonts-dir.drv
> /gnu/store/f5d0jq44ghb1kbpk0mrsp45xxla910bn-info-dir.drv
> /gnu/store/9naqz8l0z023linybdjy0as5ymf9x40w-manual-database.drv
> substitute: updating list of substitutes from
> 'https://mirror.hydra.gnu.org'... substitute: updating list of substitutes
> from 'https://mirror.hydra.gnu.org'... 100.0%
> Creating manual page database for 3 packages... done in 0.227 s
> 4 packages in profile
> address@hidden ~# herd start ssh-daemon
> herd: service 'ssh-daemon' could not be found
> ```
>
> Is there actually a service `ssh-daemon' belonging to the package
> openssh?
Services being installed upon package installation is one of those
things you learn from other distros that needs to be "unlearned" when
using GuixSD. When you run `guix package` you are altering your own
personal package profile, it doesn't alter the system in any way.
Installing the openssh package as a user is a good way to get the
openssh client available in your shell, but in order to get the
openssh daemon running you'll need to add an expression like `(service
openssh-service-type (openssh-configuration ...))` to your OS
configuration file and run `guix system reconfigure`. Make sure to
import the (gnu services ssh) module otherwise you'll get undefined
variable errors.
Hope this helps,
- Dave