www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/02/24/02:49:54

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Message-ID: <20030224074938.24900.qmail@web14901.mail.yahoo.com>
Date: Sun, 23 Feb 2003 23:49:38 -0800 (PST)
From: Matt <grnfvr AT yahoo DOT com>
Reply-To: matt AT mattflo DOT com
Subject: ssh-add could not open connection
To: cygwin AT cygwin DOT com
MIME-Version: 1.0

I am running cygwin on WinXP I am having trouble with
ssh-agent not being able to establish the
SSH_AUTH_SOCK and SSH_AGENT_PID environment variables.
 then when i go to run ssh-add it can't find the
authentication agent.  I know this is the problem
becuase i manually executed the commands the ssh-agent
is supposed to do automatically.  however i did find
that i needed to add "set" in front of the environment
variable assignment.  Have i messed spmething up when
changing around permissions or what isn't this
supposed to work in cygwin?

results of ssh-agent:
$ ssh-agent
SSH_AUTH_SOCK=/tmp/ssh-CjVj1576/agent.1576; export
SSH_AUTH_SOCK;
SSH_AGENT_PID=284; export SSH_AGENT_PID;
echo Agent pid 284;

then i check to see if the environment variables have
been added, and they have not:
$ set | grep SSH
$

So i add then manually by adding the set keyword in
front:
$ set SSH_AUTH_SOCK=/tmp/ssh-CjVj1576/agent.1576;
export SSH_AUTH_SOCK;
$
$ set SSH_AGENT_PID=284; export SSH_AGENT_PID;
$

then i check to see that the EV's are there:
$ set | grep SSH
SSH_AUTH_SOCK=/tmp/ssh-CjVj1576/agent.1576
_=SSH_AGENT_PID

and now everything works...  There has got to be an
easier way.  please help.


__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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