guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

21/24: system: bare-hurd.tmpl: Add openssh client and service.


From: guix-commits
Subject: 21/24: system: bare-hurd.tmpl: Add openssh client and service.
Date: Sun, 17 May 2020 06:00:55 -0400 (EDT)

janneke pushed a commit to branch wip-hurd-vm
in repository guix.

commit 80f4b293bdcd1921cedbfede5382cef8c4c1b005
Author: Jan (janneke) Nieuwenhuizen <address@hidden>
AuthorDate: Thu May 7 19:14:07 2020 +0200

    system: bare-hurd.tmpl: Add openssh client and service.
    
    * gnu/system/examples/bare-hurd.tmpl (%hurd-os)[packages]: Add openssh.
    [services]: Add openssh-service.
---
 gnu/system/examples/bare-hurd.tmpl | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)

diff --git a/gnu/system/examples/bare-hurd.tmpl 
b/gnu/system/examples/bare-hurd.tmpl
index d100bd6..d4c40e6 100644
--- a/gnu/system/examples/bare-hurd.tmpl
+++ b/gnu/system/examples/bare-hurd.tmpl
@@ -4,6 +4,8 @@
 ;; for a "bare bones" setup, with no X11 display server.
 
 (use-modules (gnu) (gnu system hurd) (guix utils))
+(use-service-modules ssh)
+(use-package-modules ssh)
 
 (define %hurd-os
   (operating-system
@@ -18,7 +20,14 @@
                         %base-file-systems))
     (host-name "guixygnu")
     (timezone "GNUrope")
-    (packages %base-packages/hurd)
-    (services %base-services/hurd)))
+    (packages (cons openssh %base-packages/hurd))
+    (services (cons (service openssh-service-type
+                             (openssh-configuration
+                              (use-pam? #f)
+                              (port-number 2222)
+                              (permit-root-login #t)
+                              (allow-empty-passwords? #t)
+                              (password-authentication? #t)))
+               %base-services/hurd))))
 
 %hurd-os



reply via email to

[Prev in Thread] Current Thread [Next in Thread]