aboutsummaryrefslogtreecommitdiff
path: root/guix
diff options
context:
space:
mode:
authorIan Eure <ian@retrospec.tv>2024-04-06 16:17:06 -0700
committerChristopher Baines <mail@cbaines.net>2024-04-07 19:43:07 +0100
commit298aed72a2a76be33f9a55bed22636acd7a4f9b9 (patch)
treeed540c1f6501612d475e5ba03daed50bc9d55ae0 /guix
parent6cf91aa1c82ef0a44fe1973de1a85b627c6fa8ef (diff)
downloadguix-298aed72a2a76be33f9a55bed22636acd7a4f9b9.tar
guix-298aed72a2a76be33f9a55bed22636acd7a4f9b9.tar.gz
gnu: open-ssh-session: Don’t require public key.
Public keys aren’t required for client connections, and this binding is unused. The behavior of assuming a ".pub"-suffixed file exists in the same directory as the secret key is undocumented and surprising. * guix/scripts/offload.scm (open-ssh-session): Delete `public' binding. Signed-off-by: Christopher Baines <mail@cbaines.net> Change-Id: I9b532be2abe68dae0323e4ef6e1ceab1e5603359
Diffstat (limited to 'guix')
-rw-r--r--guix/scripts/offload.scm3
1 files changed, 0 insertions, 3 deletions
diff --git a/guix/scripts/offload.scm b/guix/scripts/offload.scm
index 137e3b5fe3..93e9d3759c 100644
--- a/guix/scripts/offload.scm
+++ b/guix/scripts/offload.scm
@@ -213,9 +213,6 @@ private key from '~a': ~a")
When MAX-SILENT-TIME is true, it must be a positive integer denoting the
number of seconds after which the connection times out."
(let ((private (private-key-from-file* (build-machine-private-key machine)))
- (public (public-key-from-file
- (string-append (build-machine-private-key machine)
- ".pub")))
(session (make-session #:user (build-machine-user machine)
#:host (build-machine-name machine)
#:port (build-machine-port machine)