ssh-add hangs with latest snapshot

Corinna Vinschen corinna-cygwin@cygwin.com
Sun Mar 4 20:47:00 GMT 2012


On Mar  4 10:00, Karl M wrote:
> 
> From: karl
> To: cygwin
> Subject: RE: ssh-add hangs with latest snapshot
> Date: Sun, 4 Mar 2012 09:41:09 -0800
> >
> > Date: Sun, 4 Mar 2012 14:45:09 +0100
> > From: corinna
> > To: cygwin
> > Subject: Re: ssh-add hangs with latest snapshot
> >
> > On Mar 2 17:38, Karl M wrote:
> > > On a system I have, which has not been updated to 1.7.11 (or a snapshot)
> > > I get the following when I type
> > >
> > > $ ssh-add -l
> > > Could not open a connection to your authentication agent.
> > >
> > > $ uname -a
> > > CYGWIN_NT-6.1-WOW64 Coyote 1.7.9(0.237/5/3) 2011-03-29 10:10 i686 Cygwin
> > >
> > > in the case when there is no ssh-agent running.
> > >
> > > On a machine that I have updated to the latest, and now today, a snapshot,
> > >
> > > $ ssh-add -l
> > >
> > > just hangs.
> > >
> > > $ uname -a
> > > CYGWIN_NT-6.1 Susan 1.7.12s(0.260/5/3) 20120302 13:00:25 i686 Cygwin
> > >
> > > cygcheck for the second machine attached.
> >
> > Works fine for me. Tested on W7/64, W2K8R2, W7/32.
> >
> >
> > Corinna
> >
> Here is an strace in case that helps. I used setup to reinstall
> everything (selected reinstall for each item) and I still have the
> problem.

Does the agent run?  From the strace it looks like the socket file still
exists but there's no process listening on the port.  Or maybe there is
a process listening, but doesn't reply to the credential package sent
from the ssh-add client:

>   195  495706 [main] ssh-add 4636 fhandler_socket::af_local_connect: af_local_connect called
>  1120  496826 [main] ssh-add 4636 fhandler_socket::af_local_send_secret: Sending af_local secret succeeded

And here you're pressing Ctrl-C:
> --- Process 4636, exception 40010005 at 777AE37D


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

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



More information about the Cygwin mailing list