public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* RE: Openssh 2.3.0p1 weird exec problem, cont.
@ 2000-12-29 12:59 John Pollock
  2000-12-29 13:30 ` Corinna Vinschen
  0 siblings, 1 reply; 10+ messages in thread
From: John Pollock @ 2000-12-29 12:59 UTC (permalink / raw)
  To: cygwin

i've been seeing this exact issue too and only recently learned to pipe
output through cat if i want to expect to see it reliably come back.  A
command repeated 30 times will return the correct output about 10 times,
and then a variety of other outputs the other 20 times.

However, i've only seen this issue with non-cygwin apps (like VC++ and
such) which don't seem to understand how to send output reliably when
cooperating with a version of ssh using socket pairs instead of pipes.
The cygwin version of openssh, i believe ,uses socket pairs and not pipes,
which may be the source of the problem.

J



--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 10+ messages in thread
* Re: Openssh 2.3.0p1 weird exec problem, cont.
@ 2001-01-05 10:49 Ed Eden
  0 siblings, 0 replies; 10+ messages in thread
From: Ed Eden @ 2001-01-05 10:49 UTC (permalink / raw)
  To: cygwin

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

looks like the problem has to do with...


look at message thread...

      CYGWIN Socket write() problem in 1.1.7 DLL

-----BEGIN PGP SIGNATURE-----
Version: PGP Personal Privacy 6.5.3

iQA/AwUBOlYXAK70i5HtNtMYEQLKCACg57u3T/aECJN/gT5MGTQ48EfOjfAAoKCv
nqo+dha7N1jEolmIlUZYRCYl
=5Rw7
-----END PGP SIGNATURE-----


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 10+ messages in thread
* Re: Openssh 2.3.0p1 weird exec problem, cont.
@ 2001-01-05  6:30 Ed Eden
  0 siblings, 0 replies; 10+ messages in thread
From: Ed Eden @ 2001-01-05  6:30 UTC (permalink / raw)
  To: cygwin

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

the command output problem is due to changes in cygwin1.dll. If you
put in version 1.1.4 for me anyway it will give the output
reliability. I put in version 1.1.7 and get the "missing output"
results.


Will the "pipes" compile take care of the output from nt .exe
commands? If your logged in and do a "net" command, the output
doesn't show. I followed someone's advice and made srvany start a
batch file that calls sshd and | (pipes) the output to cmd.exe and
that works. 

-----BEGIN PGP SIGNATURE-----
Version: PGP Personal Privacy 6.5.3

iQA+AwUBOlXaKK70i5HtNtMYEQIZrwCXUZFmixGzFz4Z85roJr0VdcEoVgCdEgKb
cQYYu5O6yv4a6d6D51T7tfs=
=FXac
-----END PGP SIGNATURE-----


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 10+ messages in thread
* Re: Openssh 2.3.0p1 weird exec problem, cont.
@ 2000-12-30 15:11 R v D
  0 siblings, 0 replies; 10+ messages in thread
From: R v D @ 2000-12-30 15:11 UTC (permalink / raw)
  To: cygwin

uNSUSRCIBE
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com .


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 10+ messages in thread
* Openssh 2.3.0p1 weird exec problem, cont.
@ 2000-12-29 12:18 bailey9
  2000-12-29 13:19 ` Corinna Vinschen
  0 siblings, 1 reply; 10+ messages in thread
From: bailey9 @ 2000-12-29 12:18 UTC (permalink / raw)
  To: cygwin

 In an effort to debug the weird problem I was having when exec'ing commands
remotely with OpenSSH 2.3.0p1, I've set up a test machine running Cygwin
1.1.7 and OpenSSH-20001221. I still have the problem where sshd only sends
back the output of the command about 20% of the time. The problem only
occurs when the command exits quickly, like say, uname -a. If I do something
like "sleep 1; uname -a", I always get output. Debug logs actually show
that the server returns 0 bytes when the problem is occuring. The machines
are uniprocessor, p3 500s or better, running Win2k with SP1.

 If possible Corinna, I'd like to give you access to the box- the machine
is running Windows Terminal Server and VNC, and has all the cygwin stuff
installed.

 .andy

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2001-01-05 10:49 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-12-29 12:59 Openssh 2.3.0p1 weird exec problem, cont John Pollock
2000-12-29 13:30 ` Corinna Vinschen
2000-12-29 14:20   ` bailey9
2000-12-30 11:00     ` Corinna Vinschen
2001-01-02  8:27       ` bailey9
  -- strict thread matches above, loose matches on Subject: below --
2001-01-05 10:49 Ed Eden
2001-01-05  6:30 Ed Eden
2000-12-30 15:11 R v D
2000-12-29 12:18 bailey9
2000-12-29 13:19 ` Corinna Vinschen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).