From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthew Brooks Subject: Re: offload: error: failed to connect to `# References: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([209.51.188.92]:55423) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1glhY8-0005T4-ER for help-guix@gnu.org; Mon, 21 Jan 2019 16:56:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1glhY6-0004qc-Ee for help-guix@gnu.org; Mon, 21 Jan 2019 16:56:08 -0500 Received: from mx1.mailbox.org ([80.241.60.212]:20668) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1glhY4-0004ji-7M for help-guix@gnu.org; Mon, 21 Jan 2019 16:56:04 -0500 Received: from smtp1.mailbox.org (smtp1.mailbox.org [IPv6:2001:67c:2050:105:465:1:1:0]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by mx1.mailbox.org (Postfix) with ESMTPS id 9987C4F905 for ; Mon, 21 Jan 2019 22:55:57 +0100 (CET) Received: from smtp1.mailbox.org ([80.241.60.240]) by hefe.heinlein-support.de (hefe.heinlein-support.de [91.198.250.172]) (amavisd-new, port 10030) with ESMTP id IxqhRffO6Voa for ; Mon, 21 Jan 2019 22:55:56 +0100 (CET) In-Reply-To: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: help-guix@gnu.org > (string-append (getenv "HOME") > "/.ssh/identity-for-guix")))) >... > > ERROR] The file does not exist or permission denied: > "/root/.ssh/identity-for-guix" The SSH connection is to a regular user on the offload machine. In your example, it is configured to connect to the "simon" account on the offload machine, in the '(user "simon")' part. The issue is that the guix daemon runs as root, so when it evaluates '(getenv "home")' it points to root's home and not the user's home (thus it looking for the file in "/root/"). If the "identity-for-guix" file is in "/home/simon/.ssh/identity-for-guix", then you must specify that whole path, or specify that you mean the home path for some other user in the (getenv) part. I do not know how to specify someone else's home with getenv though, so I'd suggest that you try manually entering the full path to see if that works.