From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id AM6sKmMTW2dRiAAA62LTzQ:P1 (envelope-from ) for ; Thu, 12 Dec 2024 16:46:27 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id AM6sKmMTW2dRiAAA62LTzQ (envelope-from ) for ; Thu, 12 Dec 2024 17:46:27 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=NJS73P8c; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=C9Dpfjb0; dmarc=fail reason="SPF not aligned (strict), DKIM not aligned (strict)" header.from=posteo.net (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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1734021987; a=rsa-sha256; cv=none; b=KpVPxukG/EycJ8mvOdNI+cRlHiyYkuh45NKbqT3CergRHzfb9PD8Tg8g+W24Qq39VWfJGs ALQadjqM1DjTPNvBEUgYatHFA/sGInWitaboWTFqxrUJE5MbOm4wiEN5k10FwURA/kKOIq dz4c5dO12Vd5VyEFuRwwLijWIQxqMtbVbu0BaivHg9ic2XoymMOdficmnzXyF3hqeX4wE5 yZiv3JmcUIro9d9Kn+KdpQFwWHPUZdeOKXoQY5xxeAtdu6ws0xSrRRaS3ySgjOHK3ia+Cj B0oO1t+ZECvfSO6Xdf1NBMiMwEqCiz2fNxZFu4gTTU9s+9nJg7VvS05B9YszWg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=NJS73P8c; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=C9Dpfjb0; dmarc=fail reason="SPF not aligned (strict), DKIM not aligned (strict)" header.from=posteo.net (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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1734021987; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=4uR8w8X3g1SntcD8uJ1RmmGhHPVUdvnzHtYfvy+3eR4=; b=ImJ+106nJYRnIBxoRRyZg22j2tzUgS2zVvYLEajEyA5jqYh/P6TvAyrh+xV2UB/sOt88zB aD6U3WXSXGnswGxZW9G4PofBw+aTBhDPq3gXC3OMvxUSCe3dicZjftXrtqOvX28XKrFwaP lpFy8naZfD8P/CcqgCKaKOL6EhTgpRPqsNLWmNhnIGvzXMSQFYNsi0195rYyzcKLaheuWB T5RyAxYxUjMnGG4cPtwvE/QDzQL6NIzVrXyZyY5L9hAGRXmBK97oUEEjk35h7qpx6fpEha 6mWdgrwT8yaRE/0/UAlXCoHHoPKvibFegFORhVCZRjnLehA1S09zHBY36WOZnw== 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 52B5558DF2 for ; Thu, 12 Dec 2024 17:46:27 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tLmKF-000161-Fk; Thu, 12 Dec 2024 11:46:07 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tLmKB-00014m-MB for bug-guix@gnu.org; Thu, 12 Dec 2024 11:46:05 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tLmKB-0005Tm-Cx for bug-guix@gnu.org; Thu, 12 Dec 2024 11:46:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=From:MIME-Version:Date:To:Subject; bh=4uR8w8X3g1SntcD8uJ1RmmGhHPVUdvnzHtYfvy+3eR4=; b=NJS73P8cPKBOGw0XNCW/6DdnMUdOk7+xrvkc7yKMFWiyfev1Xs2hmBiQZQFSy3FFbD2e+jsixS8ola0F/lw/3D483PPpJlDx7/fekkQVZ+5qO3vNUjF17xnJzM11o+rtkondT/Lnx6tXMR1ZEz2IsWCEu9DbU4nIDXEq6QFPTqVsC0fkoB61r2OTPifmGtpFBdqDrdaTtF7Y7Cdtb7KD7AYoSbuLB4S6/RDtY69k0INmReHvDLcMmxbvsIqa5Qch+qllO1qQPMkHUWbY9DMIKkJTQEhJSQeoFyTfMg6ukvlTAJSCfFD82m0nqQpuMx6kZXkM/nQYTdcNbkS2E3T0jg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tLmKA-0003p3-J9 for bug-guix@gnu.org; Thu, 12 Dec 2024 11:46:03 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#74832: guix copy incorrectly assumes port is 22 Resent-From: Dariqq Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 12 Dec 2024 16:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 74832 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 74832@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.173402194714647 (code B ref -1); Thu, 12 Dec 2024 16:46:02 +0000 Received: (at submit) by debbugs.gnu.org; 12 Dec 2024 16:45:47 +0000 Received: from localhost ([127.0.0.1]:40081 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tLmJr-0003o6-76 for submit@debbugs.gnu.org; Thu, 12 Dec 2024 11:45:46 -0500 Received: from lists.gnu.org ([209.51.188.17]:47750) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tLmJo-0003np-3s for submit@debbugs.gnu.org; Thu, 12 Dec 2024 11:45:41 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tLmJj-0000xO-OR for bug-guix@gnu.org; Thu, 12 Dec 2024 11:45:35 -0500 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tLmJg-0005Qi-Ha for bug-guix@gnu.org; Thu, 12 Dec 2024 11:45:35 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 79B19240028 for ; Thu, 12 Dec 2024 17:45:25 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1734021925; bh=SOudwhx2GKnXQL5K5nuJyPv8dcPwTdfZHMLaV1gNu74=; h=Message-ID:Date:MIME-Version:From:Subject:To:Content-Type: Content-Transfer-Encoding:From; b=C9Dpfjb0Bmi/2AkLMRKVT9b/OzqKr+2D3+ulqS3FWEoKbIOa5V286lpyREobq1VzV mEaup+CfXp71cZwVglmBRxGLYE4IYp5tclW6qJKmp3zx4+/IubJsF1Defeg4ByU1ko EknrJwF2idISRZ7/1LHZOK9pspvi6lsK5tE4zpb/6WHGTgEGx0QAtekNDlb8RuSFzS BFLGKtDc/a7Pa97VbMTF+TP1LDL5wkZvH0isNdttTlHcuq14pFLaQDdCIs36DLwvBz x7Gq7AnzkxYUMDGVWu+OZy6wFdW+lLirhSPObDOyT5fpCaC3BFZehRvQoc6zwnfEJX 6oZZLLl+2eUSA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Y8JHT0Jw3z9rxB for ; Thu, 12 Dec 2024 17:45:24 +0100 (CET) Message-ID: Date: Thu, 12 Dec 2024 16:45:20 +0000 MIME-Version: 1.0 From: Dariqq Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=185.67.36.65; envelope-from=dariqq@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 52B5558DF2 X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -7.40 X-Spam-Score: -7.40 X-TUID: xX5URLYTMk9r Hello, Here is bug report number 3 with guile-ssh@0.18. When using a host defined in ~/.ssh/config in the --to/--from argument in guix-copy "send-to-remote-host" and "retrieve-from-remote-host" incorrectly pass the port as 22 to open-ssh-session. This then leads to a failure when trying to connect: --8<---------------cut here---------------start------------->8--- guix copy hello --to=name guix copy: error: failed to authenticate server at 'domain': not-known --8<---------------cut here---------------end--------------->8--- With guile-ssh@0.17 guile-ssh silently ignored the "wrong port" and instead connects to the one specified by the ssh Host --8<---------------cut here---------------start------------->8--- guix copy hello --to=name with guile-ssh@0.17 : # with-guile-ssh@0.18: # --8<---------------cut here---------------end--------------->8--- Are the (or port 22) clauses in guix/scripts/copy.scm still neccesary? From my limited testing removing them fixed the problem and passing a port of #f will result in 22 being used. This might also be a problem in other places wghere open-ssh-session is used?