This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
> > did it initially. > > Also I made a strace with and without debug mode for ssh-agent. > > In debug mode it is waiting for some input after a few moments. > > Last lines read > > [...] > > 11430 825743 [main] ssh-agent 148 start_thread_socket: exitsock 0x358 > > 482 826225 [main] ssh-agent 148 start_thread_socket: stuff_start 0x22FD24 > > 1262 827487 [select_socket] ssh-agent 148 thread_socket: stuff_start > > 0x100F9BB4 > > 188 827675 [main] ssh-agent 148 select_stuff::wait: m 2, ms 4294967295 > > > > And here it is waiting - this is okay. > > Without -d it is not waiting but waking up after a few moments and this > > loops endlessly (see strace.txt). That's why it's eating up the CPU. > > Question is why it is not waiting? > I see the reason but not why it happens :-( The error message is > something like "socket operation on non-socket". I get this error message too when I use SSH to connect to a Linux box and Solaris box (both running openssh servers). This also seems to be causing a problem with rsync over ssh. rsync doesn't seem to like it at all. I've posted to this before with the output, but here it is in a nutshell again: # rsync -e ssh -av MAGS amackenz@edw450-1-1:. amackenz@edw450-1-1's password: Warning: No xauth data; using fake authentication data for X11 forwarding. channel 0: chan_shutdown_read: close() failed for fd-1: Socket operation on non-socket rsync: connection unexpectedly closed (0 bytes read so far) rsync error: error in rsync protocol data stream (code 12) at io.c(165) channel 0: chan_shutdown_write: close() failed for fd-1: Socket operation on non-socket rsync: read error: Connection reset by peer rsync error: error in rsync protocol data stream (code 12) at /tmp/rsync-2.5.6/io.c(177) -- // Andrew MacKenzie | http://www.edespot.com // GPG public key: http://www.edespot.com/~amackenz/public.key // bonis nocet quisquis pepercerit malis. // whoever spares the bad injures the good.
Attachment:
pgp00000.pgp
Description: PGP signature
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |