guix-commits
[Top][All Lists]
Advanced

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

05/05: offload: Do not read ~/.ssh/config.


From: guix-commits
Subject: 05/05: offload: Do not read ~/.ssh/config.
Date: Mon, 3 Jan 2022 13:34:05 -0500 (EST)

civodul pushed a commit to branch master
in repository guix.

commit 861bac1dfbeaaf40b9c11a287ef7607f0fd105a8
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Mon Jan 3 19:31:05 2022 +0100

    offload: Do not read ~/.ssh/config.
    
    Fixes <https://issues.guix.gnu.org/39366>.
    Reported by zimoun <zimon.toutoune@gmail.com>.
    
    * guix/scripts/offload.scm (open-ssh-session): Pass #:config.
---
 guix/scripts/offload.scm | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/guix/scripts/offload.scm b/guix/scripts/offload.scm
index 9ddf458c13..925325ef5f 100644
--- a/guix/scripts/offload.scm
+++ b/guix/scripts/offload.scm
@@ -1,5 +1,5 @@
 ;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2014-2021 Ludovic Courtès <ludo@gnu.org>
+;;; Copyright © 2014-2022 Ludovic Courtès <ludo@gnu.org>
 ;;; Copyright © 2017 Ricardo Wurmus <rekado@elephly.net>
 ;;; Copyright © 2020 Maxim Cournoyer <maxim.cournoyer@gmail.com>
 ;;; Copyright © 2020 Julien Lepiller <julien@lepiller.eu>
@@ -231,6 +231,9 @@ number of seconds after which the connection times out."
                                ;; stateless instead.
                                #:knownhosts "/dev/null"
 
+                               ;; Likewise for ~/.ssh/config.
+                               #:config "/dev/null"
+
                                ;; We need lightweight compression when
                                ;; exchanging full archives.
                                #:compression



reply via email to

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