delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/08/11/01:03:13

X-Spam-Check-By: sourceware.org
X-IronPortListener: NIH_Relay
X-SBRS: None
X-IronPort-AV: i="4.08,113,1154923200"; d="scan'208"; a="187325655:sNHT43747044"
X-PGP-Universal: processed; by mrd-1n208l1.cc.nih.gov on Fri, 11 Aug 2006 01:02:37 -0400
Mime-Version: 1.0 (Apple Message framework v752.2)
Message-Id: <080109DC-4C78-4C2F-82CD-E5B3FDC9AABE@uwalumni.com>
To: cygwin AT cygwin DOT com
From: Dominik Hoffmann <dhoffmann AT uwalumni DOT com>
Subject: keychain doesn't properly cache ssh key
Date: Fri, 11 Aug 2006 01:02:35 -0400
X-Mailer: Apple Mail (2.752.2)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

I have a very stock installation of Cygwin (Cygwin.dll Version  
1.5.21-2) on Windows XP Pro. I installed the ssh and rsync packages,  
as well as keychain, all from Cygwin's installer interface. The  
version of keychain, as you probably know, that Cygwin currently  
installs is 2.5.3.1. keychain is said to work in the Cygwin  
environment, and yet I get this type of behavior:

> Administrator AT NICHD-PALM-Xfer ~
> $ keychain id_dsa
>
> KeyChain 2.5.3.1; http://www.gentoo.org/proj/en/keychain/
> Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL
>
> * Found existing ssh-agent (504)
> * Known ssh key: /home/Administrator/.ssh/id_dsa
>
>
> Administrator AT NICHD-PALM-Xfer ~
> $ ssh palmxfer AT ssh0 DOT janelia DOT org
> Enter passphrase for key '/home/Administrator/.ssh/id_dsa':
> Last login: Thu Aug 10 17:53:06 2006 from nichd32t33.nichd.nih.gov
> [palmxfer AT b04u02 ~]$

In other words, it recognizes the existing cached key but doesn't use  
it. Maybe this issue with ssh-add gets at the root of the problem:

> Administrator AT NICHD-PALM-Xfer ~
> $ ssh-add ~/.ssh/id_dsa
> Could not open a connection to your authentication agent.

Note the error message.

Is anyone aware of anything that would help me to get keychain work  
adequately?

Dominik Hoffmann

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

- Raw text -


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