delorie.com/archives/browse.cgi | search |
DMARC-Filter: | OpenDMARC Filter v1.4.2 delorie.com 4BIJeTF4577869 |
Authentication-Results: | delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com |
Authentication-Results: | delorie.com; spf=pass smtp.mailfrom=cygwin.com |
DKIM-Filter: | OpenDKIM Filter v2.11.0 delorie.com 4BIJeTF4577869 |
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=pq0ME4V7 | |
X-Recipient: | archive-cygwin AT delorie DOT com |
DKIM-Filter: | OpenDKIM Filter v2.11.0 sourceware.org 2D0843858408 |
DKIM-Signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; |
s=default; t=1734550828; | |
bh=znEB0GXN2FDjBEbySNFM7Dpe85RyZcT6Pm9ZxOkP1Yc=; | |
h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe: | |
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: | |
From; | |
b=pq0ME4V7yg4zX22DwqeaYy6hXgyhFyTiMBWlvm8M+9POQnDGKZSyajpop1lVkTOEC | |
LV+TtnFIBVyE3IBvit01ORINLD5ic2RKZPrq6Svlgvjwno6Y1TfHQMxgBcjmURihaC | |
Ey6mLIKtpgj++E/+iQHQvLoa2q9H4QXbwiK4Mie4= | |
X-Original-To: | cygwin AT cygwin DOT com |
Delivered-To: | cygwin AT cygwin DOT com |
DMARC-Filter: | OpenDMARC Filter v1.4.2 sourceware.org B2AB43858D20 |
ARC-Filter: | OpenARC Filter v1.0.0 sourceware.org B2AB43858D20 |
ARC-Seal: | i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1734550743; cv=none; |
b=YytEtcVOX0OB5ODFgeh3mEtX2rID2OFer7zXKDroYxreM6pG6mPgD6aq7ZBjLjUkJjOoee5RjF2tPHUODy0Op3slxD4ENWYHzHgucFDJLh/whLvDEz4ZA7g6YOyuOtUWvbX1jqzOqmSrVjvE9It3p7n3zu91WDGvYTKsFsaRsTQ= | |
ARC-Message-Signature: | i=1; a=rsa-sha256; d=sourceware.org; s=key; |
t=1734550743; c=relaxed/simple; | |
bh=LBCKzBG/HGLi/rujEHG2V1Z9AAvSpjwBxvDt/+cdhGo=; | |
h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From; | |
b=MXxNuizns9Ahmuw//pqfXnqtwFib4ggMRHFRp0JMwzFlsecakrYeMfD7n058lf6/JWhcvgKIx9sTrpbvFWw2KNqNU/6Gehoo6EYOnZ9UywuNpD2DtlZAkxUDSEpjGtjNJ6wR1v+XzHbXbqvezmChqMjLl5MxmwiinJSaniflHVM= | |
ARC-Authentication-Results: | i=1; server2.sourceware.org |
DKIM-Filter: | OpenDKIM Filter v2.11.0 sourceware.org B2AB43858D20 |
X-ASG-Debug-ID: | 1734550708-24039d08f430b1b0001-w5GHUG |
X-Barracuda-Envelope-From: | moss AT cs DOT umass DOT edu |
X-Barracuda-RBL-Trusted-Forwarder: | 128.119.240.136 |
DKIM-Filter: | OpenDKIM Filter v2.11.0 mailsrv.cs.umass.edu 5A7DA5BDC9 |
X-Barracuda-RBL-Trusted-Forwarder: | 172.27.235.241 |
Message-ID: | <50cd7675-6af4-cb84-4cc4-dd0d91956d26@cs.umass.edu> |
Date: | Wed, 18 Dec 2024 14:38:29 -0500 |
MIME-Version: | 1.0 |
User-Agent: | Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 |
Thunderbird/102.15.1 | |
Subject: | Re: cygport upload seems to ignore SSH_KEY |
X-ASG-Orig-Subj: | Re: cygport upload seems to ignore SSH_KEY |
To: | Federico Kircheis <federico AT kircheis DOT it>, cygwin AT cygwin DOT com |
References: | <8d85bde3-8ea8-4635-8547-9846315243cf AT kircheis DOT it> |
<7704ca4f-00ba-41b8-897c-7558d846ec18 AT SystematicSW DOT ab DOT ca> | |
<nlvjij9vha7u1j71seri65tfg21o7ua3im AT 4ax DOT com> | |
<1fe1c4ea-83bd-4fe8-9daf-496ff6ec2c69 AT SystematicSW DOT ab DOT ca> | |
<6d211145-71a2-47d5-83ac-e7a3330e30ce AT kircheis DOT it> | |
<87ses58u8k DOT fsf AT Gerda DOT invalid> | |
<06f56012-2124-4df1-bc4f-5fb695524872 AT kircheis DOT it> | |
<a1fc3f55-571c-4a1a-9e83-ae1848f03191 AT kircheis DOT it> | |
In-Reply-To: | <a1fc3f55-571c-4a1a-9e83-ae1848f03191@kircheis.it> |
X-Barracuda-Connect: | mailsrv.cs.umass.edu[128.119.240.136] |
X-Barracuda-Start-Time: | 1734550708 |
X-Barracuda-Encrypted: | TLS_AES_256_GCM_SHA384 |
X-Barracuda-URL: | https://barramail.cs.umass.edu:443/cgi-mod/mark.cgi |
X-Virus-Scanned: | by bsmtpd at cs.umass.edu |
X-Barracuda-Scan-Msg-Size: | 2388 |
X-Barracuda-BRTS-Status: | 1 |
X-Barracuda-Spam-Score: | 0.00 |
X-Barracuda-Spam-Status: | No, SCORE=0.00 using global scores of TAG_LEVEL=1000.0 |
QUARANTINE_LEVEL=1000.0 KILL_LEVEL=9.7 tests= | |
X-Barracuda-Spam-Report: | Code version 3.2, rules version 3.2.3.134660 |
Rule breakdown below | |
pts rule name description | |
---- ---------------------- -------------------------------------------------- | |
X-BeenThere: | cygwin AT cygwin DOT com |
X-Mailman-Version: | 2.1.30 |
List-Id: | General Cygwin discussions and problem reports <cygwin.cygwin.com> |
List-Archive: | <https://cygwin.com/pipermail/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-request AT cygwin DOT com?subject=help> |
List-Subscribe: | <https://cygwin.com/mailman/listinfo/cygwin>, |
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe> | |
From: | Eliot Moss via Cygwin <cygwin AT cygwin DOT com> |
Reply-To: | Eliot Moss <moss AT cs DOT umass DOT edu> |
Sender: | "Cygwin" <cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com> |
X-MIME-Autoconverted: | from base64 to 8bit by delorie.com id 4BIJeTF4577869 |
On 12/18/2024 2:30 PM, Federico Kircheis via Cygwin wrote: > On 05/11/2024 18.31, Federico Kircheis wrote: >> On 05/11/2024 18.29, ASSI via Cygwin wrote: >>> Federico Kircheis via Cygwin writes: >>>> I also did a chmod/chown on the file to ensure that the permission >>>> where correct. >>>> The file with the permission unchanged worked without issues when >>>> moved in ~/.ssh. >>> >>> Whatever directory that file resides in must be readable only by the >>> owner or SSH will not use it. >>> >>> >>> Regard, >>> Achim. >> >> Mhm, that could be it. >> I did not try to modify the permission of the directory. > > > Nope. > > Directory has permission 0700, file has permission 0600, just to be sure I've execute chmod on both. > I can access they key but I still experienced the issue > > ~~~~ > $ ls -la $SSH_KEY > -rw-------+ 1 Administrators None 3357 Dec 20 2019 /cygdrive/c/cygport-ps/ssh/id_rsa_cyg > > $ ls -la /cygdrive/c/cygport-ps/ssh/ > total 13 > drws--S---+ 1 Administrators None   0 Jan 14 2023 . > drwxrwx---+ 1 Administrators None   0 Dec 18 10:55 .. > -rw-------+ 1 Administrators None 3357 Dec 20 2019 id_rsa_cyg > -rw-------+ 1 Administrators None 745 Jul 25 2018 id_rsa_cyg.pub > -rw-------+ 1 Administrators None 236 Mar 18 2020 known_hosts > ~~~~ > > If I manually execute lftp > > > ~~~~ > $ lftp sftp://cygwin:@cygwin.com > lftp cygwin AT cygwin DOT com:~> cd . > cd `.' [Connecting...] > ~~~~ > > and hangs. > > I'm not sure how to debug the issue further, and the relation between all tools. > > ~~~~ > $ sftp sftp://cygwin:@cygwin.com > cygwin:@cygwin.com: Permission denied (publickey). > Connection closed > ~~~~ > > I guess lftp/sftp does not support the variable SSH_KEY, as I get the same "Permission denied (publickey)." error with > "ssh -v sftp://cygwin:@cygwin.com", and I see that there is no attempt to use my ssh key > > Also following command does not report an error: > > ~~~~ > sftp -i $SSH_KEY sftp://cygwin:@cygwin.com > Connection closed by 8.43.85.97 port 22 > Connection closed > ~~~~ Curious. I'm not an expert, but I tend to put info in my ssh config file. Does that help here? And, probably grasping at straws, are you sure SSH_KEY is exported :-) ? Some people who are more expert might have better suggestions ... Eliot Moss -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |