DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 4A4KferS1513423
Authentication-Results: delorie.com;
	dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=xWEzVfro
X-Recipient: archive-cygwin@delorie.com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 776843857BA9
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
	s=default; t=1730752899;
	bh=GJCVBc5ZVDGaeTYzIG4HY2ZA9QV88U831wqHE/POntw=;
	h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe:
	 List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:
	 From;
	b=xWEzVfrooPWxZWbLd3CRQiHHH1WjRaaOZwWjqyxXoKcjHEyqMXsuAReR+KJ1cMZqU
	 2TP6zf8XMErves97hjGQQzZDRvBVvsQrO8Utf7gsIniLEOx1UoYeeZsv8H6HINqbMJ
	 7mdetwJh+8c4E7eMHNjHZmI9iHFbsDOr4RCmPobc=
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 25AE83858C5F
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 25AE83858C5F
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1730752831; cv=none;
 b=ag+v+eXfY99SlOnmTkRjkclg5KaYJqsu+3EGe+eXg7/HCxL6fNd3BkvNhqMh2NTkbFCySUIZbLp2DH8DTFzHMkEq7XVEQyzCUQdH6PRjVN7JtS2/UfMX0jA4i+LvbMj0Ma/51jestwWqGAfg+R5vsOooXzTuotQrpRoWl4SSCb4=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
 t=1730752831; c=relaxed/simple;
 bh=pnNvhY38GjcKa4l+6vRGR2s2z3C19Cv24/UsZBTocus=;
 h=Message-ID:Date:MIME-Version:Subject:To:From:DKIM-Signature;
 b=lcjk34j4Aa/jsJXIqdlxyfbclTBQbylIcqtFzVe7keZN8yvVx2fXDuAhLYvoTht5u57fmqciAW8e+mIDVx1jQg/h8lhDvSWiWAq+9PBFx4ZAN7IMIrUNgePvUxKrY1p9NfRL45wCFbl2L4U7dFZOwsOtUH6G4t9jrlDeNRZPkzQ=
ARC-Authentication-Results: i=1; server2.sourceware.org
Message-ID: <7704ca4f-00ba-41b8-897c-7558d846ec18@SystematicSW.ab.ca>
Date: Mon, 4 Nov 2024 13:40:23 -0700
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: cygport upload seems to ignore SSH_KEY
Content-Language: en-CA
To: cygwin@cygwin.com
References: <8d85bde3-8ea8-4635-8547-9846315243cf@kircheis.it>
Autocrypt: addr=Brian.Inglis@Shaw.ca; keydata=
 xjMEXopx9BYJKwYBBAHaRw8BAQdAPq8FIaW+Bz7xnfyJ1gHQyf2EZo5sAwSPy/bRAcLeWl/N
 I0JyaWFuIEluZ2xpcyA8QnJpYW4uSW5nbGlzQFNoYXcuY2E+wpYEExYIAD4WIQTG63sbl+cr
 2nyOuZiKvQKcH1E27wUCXopx9AIbAwUJCWYBgAULCQgHAgYVCgkICwIEFgIDAQIeAQIXgAAK
 CRCKvQKcH1E276DmAP91Bt8kfJhKHYb9b2sao2fxwJFsl1GlRi516WKI0OkphQEA+ULITsPs
 blfzSq+GgI7q4LPfRfTLy4Oo3gorlnhnfgnOOAReinH0EgorBgEEAZdVAQUBAQdAepgIsLwm
 GQicfoIBaB9xHp63MQJqVCPbgPzESTg7EEwDAQgHwn0EGBYIACYWIQTG63sbl+cr2nyOuZiK
 vQKcH1E27wUCXopx9AIbDAUJCWYBgAAKCRCKvQKcH1E27+zoAP4u2ivMQBAqaMeLOilqRWgy
 nV2ATImz1p2v1H5P4kBiDwD3caPK1cxU5lijzuSDCjgtIpgF/avHbjA32fxJdIRwAA==
Organization: Systematic Software
In-Reply-To: <8d85bde3-8ea8-4635-8547-9846315243cf@kircheis.it>
X-Rspamd-Queue-Id: 914C620018
X-Stat-Signature: pgyh3su8h7uw5ymn4g4dm1wzqn4noz36
X-Rspamd-Server: rspamout06
X-Session-Marker: 427269616E2E496E676C69734053797374656D6174696353572E61622E6361
X-Session-ID: U2FsdGVkX1+rhAzNkSsqDCS57XCL4cITusq02wzD52Q=
X-HE-Tag: 1730752800-624027
X-HE-Meta: U2FsdGVkX18ulazdgJAEtE1hZrSiaLSRfMWfrxONqVAzdyGoXytQbOW12TocMEYzQ+4gJ3UgzrFAE/r5C2zNyGc9XqSgUv9wuQQlq6GYA4Jfq73mamTm80zwYei3gwax7HUZwvnr/EwfQe4JngOaxuFhunCiEwpzc74dxU2TR35BFUf3ZCQtEU/GMBfTJlhN+1c/tLsfHV/vL3JtE7zykD+6yKab9YuLmz/tNbecgN5dn/3n5Z6lAGqpkDFsZl+DQbWEyLLepfeKl69MPpVErqhxIU7VpxWS4l6IwfVkFAF5ez9bf0SAjcny4rfVyuUiqKAaOWESUvPoG/ts6DNT0EE0ajdQLVF6+5fS1ZDTGAbFrNHfHgzeuf+T3guIFbJ+PDMN9un7WNK+WszkE04AG4pbqW8CyJTTMQBvkqdSFoGnLjMrYSTUdg==
X-BeenThere: cygwin@cygwin.com
X-Mailman-Version: 2.1.30
Precedence: list
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
From: Brian Inglis via Cygwin <cygwin@cygwin.com>
Reply-To: cygwin@cygwin.com
Cc: Brian Inglis <Brian.Inglis@SystematicSW.ab.ca>
Content-Type: text/plain; charset="utf-8"; Format="flowed"
Errors-To: cygwin-bounces~archive-cygwin=delorie.com@cygwin.com
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie.com@cygwin.com>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 4A4KferS1513423

On 2024-11-04 12:20, Federico Kircheis via Cygwin wrote:
> up until recently I've uploaded packages the following way
> export SSH_KEY=/path/to/id_rsa;
> cygport /path/to/file.cygport upload
> but today I got the following error
> cd: Fatal error: max-retries exceeded
> I've fixed it by copying my key in the .ssh folder
> cp $SSH_KEY ~/.ssh/id_rsa
> cygport /path/to/file.cygport upload
> So it is not blocking me, but I wanted to know if this was a known bug, or if I 
> am the only one experiencing it.

See
	https://cygwin.github.io/cygport/cygport_conf.html#SSH_KEY
or
	/usr/share/doc/cygport/html/manual/cygport_conf.html#SSH_KEY

SSH_KEY

DESCRIPTION

Path to the SSH private key corresponding to the public key registered for 
uploading on sourceware.
You'll need to set this if your private key isn't already loaded into a running 
ssh-agent(1), and it doesn't have one of the expected file names such as 
~/.ssh/id_rsa.
Also, setting this allows cygport to determine if a passphrase is needed to 
decrypt the key, and only prompt you for a passphrase if it's needed.
Otherwise, you'll be prompted for a passphrase every time you upload.

Instead of `ssh-agent` and `ssh-add`, you can use `keychain` in your login 
profile, which allows cross-session sharing, across X and terminal sessions, and 
logouts, for example:
	$ eval `/usr/bin/keychain --noask --eval ~/.ssh/id_rsa`
then
	$ keychain ~/.ssh/id_rsa
-- 
Take care. Thanks, Brian Inglis              Calgary, Alberta, Canada

La perfection est atteinte                   Perfection is achieved
non pas lorsqu'il n'y a plus rien à ajouter  not when there is no more to add
mais lorsqu'il n'y a plus rien à retirer     but when there is no more to cut
                                 -- Antoine de Saint-Exupéry


-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

