On Fri, 21 Nov 2014, Adam Pribyl wrote:

I am not sure if the doc is wrong or it has changed in the guix but the definition of lsh service as it is at
http://www.gnu.org/software/guix/manual/html_node/Using-the-Configuration-System.html#Using-the-Configuration-System

(services (cons (lsh-service #:port 2222 #:allow-root-login? #t)
                 %base-services)))

is wrong, there should be

(services (cons (lsh-service #:port-number 2222 #:root-login? #t)
                 %base-services)))


at least this is how it works for me and conforms to:
http://www.gnu.org/software/guix/manual/html_node/Networking-Services.html#Networking-Services

And the chapter
http://www.gnu.org/software/guix/manual/html_node/Networking-Services.html#Networking-Services
defines networking and ssh modules under "system" but they are under "service".
I.e not
(gnu system networking)
but
(gnu service networking)

nevertheles, defining dhcp-client-service does not provide a networking anyway, so ssh-daemon (lshd) service is not working.

regards

Adam Pribyl


Reply via email to