Re: cygwin ssh-add problem

From: eho (ericmho@shaw.ca)
Date: 04/17/02


From: eho <ericmho@shaw.ca>
Date: Wed, 17 Apr 2002 01:31:15 GMT

Hi Alan, I issued the ps cmd and the agent is running. Also a socket file has been
created on /tmp. What version of cygwin are you running and what windows OS are you
running. I'm running cygwin 1.3.10 under w2k. Thanks

Alan Hadsell wrote:

> eho <ericmho@shaw.ca> writes:
>
> > Hi Alan, thank you for your info. But I did use eval `ssh-agent`, followed by
> > ssh-add command as attached below:
> >
> > eho1@PATCHES ~
> > $ eval `ssh-agent`
> > Agent pid 257
> >
> > eho1@PATCHES ~
> > $ ssh-add
> > Could not open a connection to your authentication agent.
> >
> > What version of cygwin and openssh do you run on your machine?
> > Thanks
>
> ,----
> | $ ssh -V
> | OpenSSH_3.1p1, SSH protocols 1.5/2.0, OpenSSL 0x0090603f
> `----
>
> Check with ps to see if your agent is still running:
>
> ,----
> | $ ps
> | PID PPID PGID WINPID TTY UID STIME COMMAND
> | 536 1 536 536 ? 1001 09:01:57 /usr/bin/ssh-agent
> | 1720 1 1720 1720 con 1001 09:07:28 /usr/bin/bash
> | 1760 1720 1760 1348 con 1001 09:14:57 /usr/bin/ps
> `----
>
> ssh-agent tries to create a socket in /tmp/ssh-xxxxxxxx/agent.<pid>.
> Maybe you have a permissions problem to that directory?
>
> You might try starting ssh-agent with the -d flag, to see if it tells
> you anything useful.
>
> --
> Alan Hadsell
> If brute force doesn't work, you aren't using enough.



Relevant Pages

  • Re: Filtering shit
    ... and Alan Hope instead replied: ... code" without realising crosspost filtering is built-in. ... Agent is home based. ... who were members of the San Diego Computer Society of which I am ...
    (misc.writing)
  • Re: Filtering shit
    ... and Alan Hope instead replied: ... code" without realising crosspost filtering is built-in. ... Agent is home based. ... If your advice is shit, ...
    (misc.writing)
  • Re: Agent Newsreader - Tech Question
    ... Following up to Alan S ... >up-grade. ... The latest Agent version is 3.1. ... Prev by Date: ...
    (rec.travel.europe)
  • Re: Filtering shit
    ... code" without realising crosspost filtering is built-in. ... Alan, it is built-in but you only get one chance to enable it during ... My code writing in Agent was in version .6x. ...
    (misc.writing)
  • Re: cygwin 1.3-13-1 breaks ssh-add
    ... Harris wrote: ... > I updated cygwin this morning and ssh-add now gives me "can't connect ... The agent is running and the env is setup properly. ... you might want to reinstall Cygwin outright. ...
    (comp.security.ssh)