diff options
author | Ludovic Courtès <ludo@gnu.org> | 2023-09-21 17:54:04 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2023-10-01 22:58:19 +0200 |
commit | 81d46ef989fc2290d60a5c5f5451e81e7e546eda (patch) | |
tree | 11fc781fabffc4f542b53203f22e28f174743bc6 /gnu/services | |
parent | e90a972ce232a6a57995df1ed90c9ddbaf5dbcae (diff) | |
download | guix-81d46ef989fc2290d60a5c5f5451e81e7e546eda.tar.gz guix-81d46ef989fc2290d60a5c5f5451e81e7e546eda.zip |
services: hurd-vm: Use the default SSH port number.
* gnu/services/virtualization.scm (%hurd-vm-operating-system): Remove
‘port-number’ from ‘openssh-configuration’.
(hurd-vm-net-options): Change 2222 to 22 in port forwarding.
Diffstat (limited to 'gnu/services')
-rw-r--r-- | gnu/services/virtualization.scm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gnu/services/virtualization.scm b/gnu/services/virtualization.scm index e1a206e0eb..fd153dd051 100644 --- a/gnu/services/virtualization.scm +++ b/gnu/services/virtualization.scm @@ -1078,7 +1078,6 @@ that will be listening to receive secret keys on port 1004, TCP." (openssh-configuration (openssh openssh-sans-x) (use-pam? #f) - (port-number 2222) (permit-root-login #t) (allow-empty-passwords? #t) (password-authentication? #t))) @@ -1146,7 +1145,7 @@ is added to the OS specified in CONFIG." "-:1004" ",hostfwd=tcp:127.0.0.1:" (number->string (hurd-vm-port config %hurd-vm-ssh-port)) - "-:2222" + "-:22" ",hostfwd=tcp:127.0.0.1:" (number->string (hurd-vm-port config %hurd-vm-vnc-port)) "-:5900"))) |