delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/10/27/10:41:22

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org A77A63858423
Authentication-Results: sourceware.org;
dmarc=none (p=none dis=none) header.from=alum.mit.edu
Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=alum.mit.edu
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;
b=HbkT9Ezhx+DeCAlBVGQ6A/ePXSL4w2XSW6zsDvFA5/CDsWyxJT5UAAVyA4EQ6GfizNm9072CF25GS6nmJjX16D7X/J2Cu1j1CrHY9HzS00pld8G7FDwHIJKOLo9uh3sj6veCmdAWcmT4moCH97O/C16OrEYRMxrUgzlpuM7SyW+fcJ0iTPkAntrn0iETLjt2WW7YijcR3fr0Sn23kNIyeDrfPE9lhN8hVn/5wNy66xXivNYpBBAaZty5lC+ktUaeUGwkHaxHNybveVDOYx76TTdf6o/s3CjO0i86uHT839WKNjq63Ecirrn2AXsHytx2vtv9q8RC0dNsmUQxB0tmkw==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;
s=arcselector9901;
h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1;
bh=fqRyIssNIWmvlW2m3+tC8NPjXjfm6tyutGvFp52f1FA=;
b=DB+lSMriPFBNeDuUw3D+lRS97yWYiNHkmChQME49RfJipJMeYUf3j4IuLoqHDewbtSFsNvHIIbaQ5T3zObJCcWBTj5iaKzncWvwOHEUt5hdeSg6CLTDl9HPXHie0OKDXkam74EN7sK5QlOyWWL3LNkgL0MbvBOJBUOXMrmaIVaEsKFmciSnG/bv/dowGvHnfYspav3Im1xH3EbGlDD7TjBkdqhxJxxZ9GaY7znZiZXAS4FdmLrMWIkL+RC4Tu9hnZUmjrvo2FFPT/eCNlEk2txVPBwLDgGUYxeR88YIf1n+oR3MzLWkPNSK/qLOEJqTPrrVPQ3mu++i5t7B3mjJNHQ==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is
18.7.68.33) smtp.rcpttodomain=cygwin.com smtp.mailfrom=alum.mit.edu;
dmarc=bestguesspass action=none header.from=alum.mit.edu; dkim=none (message
not signed); arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alum.mit.edu;
s=selector2;
h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
bh=fqRyIssNIWmvlW2m3+tC8NPjXjfm6tyutGvFp52f1FA=;
b=bm1SMqQ/iZSdmdfB7Pk8Tf36AXxLJvWeCTtUmle0VOh40JyoDTFeGGS5L0oX5E7PqhdGAptuTP991KpiA038uXFX4ArHACjNd8R7U2Xvqbntc7JKM61VsTcuBh+Si/XIwHC2EyHxQdsnF3+Iw32vZwOrxWhGwkdNsaZ98eEhdIg=
X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 18.7.68.33)
smtp.mailfrom=alum.mit.edu; cygwin.com; dkim=none (message not signed)
header.d=none;cygwin.com; dmarc=bestguesspass action=none
header.from=alum.mit.edu;
Received-SPF: Pass (protection.outlook.com: domain of alum.mit.edu designates
18.7.68.33 as permitted sender) receiver=protection.outlook.com;
client-ip=18.7.68.33; helo=outgoing-alum.mit.edu;
X-Gm-Message-State: AOAM531eome0eIOKQBU2xB8J5c0bJoCgupQjBI6jDB3moJSAXZo2uw+L
Qr2v15F46TRexzW+0okQUYDwjW2RPDqbLqjFaJE=
X-Google-Smtp-Source: ABdhPJzgnwaxLsoEXDXhOa1MuV6yR6GYn/z3PFNoax6N1tYYp9u91PAXZww96n3E458gqNkqcW912mA17KGZZGWrFl0=
X-Received: by 2002:a05:6902:1101:: with SMTP id
o1mr19336393ybu.379.1635345602804;
Wed, 27 Oct 2021 07:40:02 -0700 (PDT)
MIME-Version: 1.0
From: Jim Reisert AD1C <jjreisert AT alum DOT mit DOT edu>
Date: Wed, 27 Oct 2021 08:39:51 -0600
X-Gmail-Original-Message-ID: <CAK-n8j7LK56SA-YAw=TDg2S=ggzZD0PvY0V5_F+XNTs3Bu126g AT mail DOT gmail DOT com>
Message-ID: <CAK-n8j7LK56SA-YAw=TDg2S=ggzZD0PvY0V5_F+XNTs3Bu126g@mail.gmail.com>
Subject: How do I "fix" SSH_AUTH_SOCK?
To: cygwin AT cygwin DOT com
X-EOPAttributedMessage: 0
X-MS-PublicTrafficType: Email
X-MS-Office365-Filtering-Correlation-Id: 15f16276-e89a-43d3-f06b-08d99957aa60
X-MS-TrafficTypeDiagnostic: DM6PR12MB3930:
X-Microsoft-Antispam-PRVS: <DM6PR12MB39304D5482D7EE5E84FFCEE685859 AT DM6PR12MB3930 DOT namprd12 DOT prod DOT outlook DOT com>
X-MS-Oob-TLC-OOBClassifiers: OLM:10000;
X-MS-Exchange-SenderADCheck: 1
X-MS-Exchange-AntiSpam-Relay: 0
X-Microsoft-Antispam: BCL:0;
X-Microsoft-Antispam-Message-Info: SJiMkqB0TeBP1jKjkLjLlCL34qxUz0MvMpLlhSZpT0Qzd5aPAwboUYs4tXrwn5b9bKrUIMC0pE/3A0U7S/qgxsgWpEAjOgUhMnm14Xdh7sHVRS5p04xtpwW4mqfsI043oKlQsiQiIbRrZIPWALhdEi+nW+u3SG8UyEbJuKOEoXkJsVFmZdYuDVssahl4nuqqlz+UAEiarApkUD87vinC7zFE4wfZGkDLRIF8Szt6NPnLKq8CrvX7kIZkso8GycFqjkly8J9pkWH+MVzGbneO5csEdbCkmqFtCPSbKl9ipEcEg2DomDYxip1PlrkmTSSJ25pXy1liK1LlE4lypTCJ0TooQsrf+z/Ql6VBPuc0VkQO3YFfciGB0IfeXWG+mL85VUTx/ijCIORIvrgqvnAX539JcUApQYEVuF+NklT00BXZEOADoUvH9y0c0nR7+O4531KQvxJSZ0PIc9czc2N+7C7NcZDy5fPt1r5F/p9kdby4R84Ii/eqB2tnMrn/nh6vDVgi7c5xu3IdkulMCkjx7rxtaSJhKX2inf1o08DSelRIjQcp4BM0nPh/Bl8wO3KztmjTaLT2c6lHn3uK0iYZ6g/EnFQmtQ3vdEOREHwRHMziAb6XUfa6fNAGo0wchxIbzsH1QTy7fxQFKOAkfrWGWuQJiyENfKgcyJ+ONoJUi1Qeqc4ygiRS5ZKRKT7Q1QqR+k8keO+Fw2fGkNcynTSWqJAQPc5PIHFErMc2B51KACsaD9Q56gS4IpxALBibjn4FAuPLt8FF5yqTx+/Nus3+yg==
X-Forefront-Antispam-Report: CIP:18.7.68.33; CTRY:US; LANG:en; SCL:1; SRV:;
IPV:CAL; SFV:NSPM; H:outgoing-alum.mit.edu; PTR:outgoing-alum.mit.edu;
CAT:NONE;
SFS:(36840700001)(46966006)(7596003)(336012)(42186006)(26005)(316002)(6916009)(83380400001)(36860700001)(508600001)(5660300002)(70206006)(356005)(2906002)(6666004)(70586007)(36906005)(86362001)(786003)(82310400003)(966005)(47076005)(9686003)(8676002)(8936002)(55446002)(75432002)(186003);
DIR:OUT; SFP:1101;
X-OriginatorOrg: alum.mit.edu
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Oct 2021 14:40:04.8150 (UTC)
X-MS-Exchange-CrossTenant-Network-Message-Id: 15f16276-e89a-43d3-f06b-08d99957aa60
X-MS-Exchange-CrossTenant-Id: 3326b102-c043-408b-a990-b89e477d582f
X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3326b102-c043-408b-a990-b89e477d582f; Ip=[18.7.68.33];
Helo=[outgoing-alum.mit.edu]
X-MS-Exchange-CrossTenant-AuthSource: DM3NAM02FT016.eop-nam02.prod.protection.outlook.com
X-MS-Exchange-CrossTenant-AuthAs: Anonymous
X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB3930
X-Spam-Status: No, score=-1.6 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, KAM_INFOUSMEBIZ, RCVD_IN_DNSWL_NONE,
RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_PASS,
TXREP autolearn=no autolearn_force=no version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
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>
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

I'm having a new, little problem with ssh. I can connect to my remote
host just fine if I use a Cygwin Terminal (mmtty).  I can not connect
in an Xterm without being prompted to enter a password:

    [JJR:~] $ ssh <remotehost>
    sign_and_send_pubkey: signing failed for RSA
"/cygdrive/d/Home/.ssh/id_rsa" from agent: agent refused operation
    (ad1ccus1 AT ftp DOT ad1c DOT us) Password:

I have determined that the environment variable SSH_AUTH_SOCK (bash
shell) seems to be causing this problem.  If I unset the variable,
then the remote connection in the Xterm works the same way as it does
using the Cygwin Terminal (i.e. no prompt for password).

This is the version of Cygwin/X I am running:

    Welcome to the XWin X Server
    Vendor: The Cygwin/X Project
    Release: 1.20.13.0
    OS: CYGWIN_NT-10.0-22000 JJR 3.3.0-341.x86_64 2021-09-24 22:07 UTC x86_64
    OS: Windows 10  [Windows NT 10.0 build 22000] (Win64)
    Package: version 1.20.13-1 built 2021-09-25

I will also add that I did not see this problem before updating to the
latest version of OpenSSH:

    OpenSSH_8.8p1, OpenSSL 1.1.1l  24 Aug 2021

However, the remote server had been running a very old version of
OpenSSH (circa 2013/2014).  They moved me to a newer server with this
version (obviously not the latest):

    OpenSSH_7.4p1, OpenSSL 1.0.2k-fips  26 Jan 2017

Is there a workaround for this issue?

Thanks - Jim

-- 
Jim Reisert AD1C, <jjreisert AT alum DOT mit DOT edu>, https://www.ad1c.us

-- 
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019