Displaying 1 result from an estimated 1 matches for "losesdata".
Did you mean:
close_data
2001 Jun 15
2
openssh 2.9p1: data loss when stdout sent to a pipe
...estigation reveals that this problem was caused by the addition of
lines into clientloop.c that force non-blocking mode onto the stdout
channel. Applying the following patch (to revert that portion of
clientloop.c to its state as of openssh2.5.2p2) fixes the problem:
--- openssh-2.9p1/clientloop.c.losesdata Fri Apr 20 08:50:51 2001
+++ openssh-2.9p1/clientloop.c Fri Jun 15 14:13:32 2001
@@ -787,12 +787,15 @@
if (!compat20) {
/* enable nonblocking unless tty */
+ /* REMOVED for now since it prevents ssh command output from
+ being reliably sent to a pipe. - PHS 20...