sshd -i problem under 2.1.1p4 as well

Damien Miller djm at mindrot.org
Mon Jul 17 22:43:34 EST 2000


On Mon, 17 Jul 2000, David Duffy wrote:

> I have encountered the same problem with sshd -i (under Mandrake
> linux 6.1) as that described by Ben L Perkins, this time with
> 2.1.1p4: ...

Does this help?

Index: sshd.c
===================================================================
RCS file: /var/cvs/openssh/sshd.c,v
retrieving revision 1.85
diff -u -r1.85 sshd.c
--- sshd.c	2000/07/11 23:45:27	1.85
+++ sshd.c	2000/07/17 12:42:17
@@ -642,6 +642,7 @@
 		s2 = dup(s1);
 		sock_in = dup(0);
 		sock_out = dup(1);
+		startup_pipe = -1;
 		/*
 		 * We intentionally do not close the descriptors 0, 1, and 2
 		 * as our code for setting the descriptors won\'t work if


-- 
| "Bombay is 250ms from New York in the new world order" - Alan Cox
| Damien Miller - http://www.mindrot.org/
| Email: djm at mindrot.org (home) -or- djm at ibs.com.au (work)








More information about the openssh-unix-dev mailing list