From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id mCPXAyEHoWLu8AAAbAwnHQ (envelope-from ) for ; Wed, 08 Jun 2022 22:31:29 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id iOTaAyEHoWJvYAEA9RJhRA (envelope-from ) for ; Wed, 08 Jun 2022 22:31:29 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id A23421BFD9 for ; Wed, 8 Jun 2022 22:31:28 +0200 (CEST) Received: from localhost ([::1]:57850 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nz2Kt-0004dO-I3 for larch@yhetil.org; Wed, 08 Jun 2022 16:31:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49250) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nz2KU-0004d5-Ts for bug-guix@gnu.org; Wed, 08 Jun 2022 16:31:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:50450) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nz2KU-0007hX-Lg for bug-guix@gnu.org; Wed, 08 Jun 2022 16:31:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nz2KU-0005VG-Ca for bug-guix@gnu.org; Wed, 08 Jun 2022 16:31:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#54950: Connecting to remote guix daemon with encrypted SSH key fails Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 08 Jun 2022 20:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54950 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Arun Isaac Cc: 54950@debbugs.gnu.org Received: via spool by 54950-submit@debbugs.gnu.org id=B54950.165472023919599 (code B ref 54950); Wed, 08 Jun 2022 20:31:02 +0000 Received: (at 54950) by debbugs.gnu.org; 8 Jun 2022 20:30:39 +0000 Received: from localhost ([127.0.0.1]:44347 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nz2K7-00055o-3V for submit@debbugs.gnu.org; Wed, 08 Jun 2022 16:30:39 -0400 Received: from mail-qt1-f173.google.com ([209.85.160.173]:36625) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nz2K5-0004yN-DK for 54950@debbugs.gnu.org; Wed, 08 Jun 2022 16:30:37 -0400 Received: by mail-qt1-f173.google.com with SMTP id x18so12905299qtj.3 for <54950@debbugs.gnu.org>; Wed, 08 Jun 2022 13:30:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=wCw4TjSj+aUw9XVfaUXb+CuNvFZ1Jf6T7hpiJCh4rF8=; b=bCwXNwLXmh8oJXecjnq6WvDW2ySspITDEgs9xzHRigHGVrEDQ3V7a1aTeYvXcWVSgm YPX9rqEyLQRRG3tN01wSF/0LoYAuh60at2OfMJBLUoCoXn3pHGLsocSYfwQbLFvpq8ia XpvZqGxYzn30yv45clxPua/fB1RuHCcKizAlpXzkxX+G8lYim2eRQtfD+olv7+AacdwB UmmlMQ+ZsWYeVHLOMWxDpQTFf6RC5GoJoi6G/oz1gzxxBBmdWtBDvmt2tDBXQMJXwlZU 5TU0g73arDdRDk99c5i4mFTmFa8U62E96IJ3tVQ5wNKDt/sR4MhtPH5NHzGuHBB47Rfg G12g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=wCw4TjSj+aUw9XVfaUXb+CuNvFZ1Jf6T7hpiJCh4rF8=; b=3bHq021S1l2IoEkTQN0o1gSwMLNDzN7teTy8qbJJzhbdFXT/2utD29BVM01smXkXlz F9MdCJQEA15QNv2mXuw1JcdkI2TFBdZrlCUU/1YcVGCS7NHtiTwmgPYJqtFbHjochl4i 9EVoxo3ZYlBnY/qxCrayYb18RcQWevKGwyFWN+szskfVxYQE6O8zVVKAjcmobk47Fc62 2CxWRk8tHxeBPzVPVgPup6MukJ49/6s6J4iVgWm77DAJwd8VN4M/mvX4q3qot/QLqjOc JjD9AaWPFDKl6boHLWXQkM8o7KCUVXD+1HheWUFsVqTz50h1poRMiEielJcm2bzFm2qi hzuQ== X-Gm-Message-State: AOAM5312DrRRs9FpsVbF0OQaxs+BdCd8VNCo5io1QYxrOObSkzK8FAWM IvWFI+QJ233xy9tTJq95lEjHGxHMn5I2RQ== X-Google-Smtp-Source: ABdhPJxpAFCZb+4BV4uh6ZxhOSGaTJYWgT3dHWYzfSE3I4OFvq24CBx84xznRWLD8XkP2g98+iW9aQ== X-Received: by 2002:a05:622a:1443:b0:304:c333:df46 with SMTP id v3-20020a05622a144300b00304c333df46mr28703632qtx.566.1654720230363; Wed, 08 Jun 2022 13:30:30 -0700 (PDT) Received: from hurd (dsl-151-172.b2b2c.ca. [66.158.151.172]) by smtp.gmail.com with ESMTPSA id q22-20020ac87356000000b00304dd83a9b1sm12086478qtp.82.2022.06.08.13.30.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Jun 2022 13:30:29 -0700 (PDT) From: Maxim Cournoyer References: <87pmli1u3e.fsf@systemreboot.net> Date: Wed, 08 Jun 2022 16:30:28 -0400 In-Reply-To: <87pmli1u3e.fsf@systemreboot.net> (Arun Isaac's message of "Fri, 15 Apr 2022 16:39:25 +0530") Message-ID: <87a6amkie3.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1654720288; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=wCw4TjSj+aUw9XVfaUXb+CuNvFZ1Jf6T7hpiJCh4rF8=; b=Y8bsFJCzD2bjxoQqvqp47xqFc+8nzbcan6sIqShBxaSUN7suHgRjZNFvlIUK1Y15BmprTO RWmlLZN98mAimGCAQ6DAqj9/OFcRPdIWn0Td987Y6DftNYRabm90O4U71oZr5WVOklYF29 Q4zQI4lAzZyyTH4sV+hW3ZNzk7EQQUIghsAgg4FOpC90T9Eir09/p1+iuICW3zQBsZsveg k2owP7rQzVEauO1uTMbmZZEs/UMtctPgSiqKZwo2NOoNlqAQl1t5KERA3l+eV/4PhA3MLa vukX/7gFQXUCS0TT44g2iTcomsfWBb/HnyLXHeMoZyravWBbQJ+JwhR9pYsPjA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1654720288; a=rsa-sha256; cv=none; b=kRAJx0mhUB8fqjhXiIQvITUF0xiaQv9R4xmHmi+2BWYFe43+/sUnbA0lakzHqMe/JT0MLk 3UCMbwQwc+TdQZMKopYYiC+E6N2l/E1PiwGQuxZBSktMhweBkJ5txuC6SehXPsguegPM75 76ZEY7eOgYQwev0FM6pYRRldSx6whjERiUti5ppYvUIRaD9PjRgYCMg61jWnbUxgGRiHXM NiYfFxLU8i+xl4qEc3zBGVglTfBrlPkB46OXzsJBbtln1+PZIBkItis1IinaavTuF5LSvG 6Kk3llNeKXjPtXkJg0oopP60PtsNqFtQ2Qe+fCqS5ibYzWnbrgjygyRuFS6JDw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=bCwXNwLX; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 4.70 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=bCwXNwLX; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: A23421BFD9 X-Spam-Score: 4.70 X-Migadu-Scanner: scn0.migadu.com X-TUID: FUsjZMCtNsyn Hi, Arun Isaac writes: > I have an SSH key encrypted with a passphrase. When I try connecting to > a remote guix daemon with that encrypted SSH key, it fails with the > following error message. > > $ GUIX_DAEMON_SOCKET=ssh://foo guix build -v3 hello > guix build: error: SSH authentication failed for 'foo': Access > denied for 'publickey'. Authentication that can continue: publickey > > I expected some kind of prompt asking me for the passphrase, but did not > get any. The same command works if I set up ssh-agent and add the > relevant key to it. I suspect this is due to changes in OpenSSH *client* that now refuse older RSA keys for security reasons. Could you retry with the following option: 'StrictHostKeyChecking no' applied to the host in your ~/.ssh/config? If that's indeed the problem, you'll want to upgrade your key to something more modern like ed25519. I hope that helps, Maxim