logout() returned an error

Damien Miller djm at mindrot.org
Mon Jul 17 22:42:57 EST 2000


On Mon, 17 Jul 2000, Tobias Klein wrote:

> Hi everybody,
> 
> I got the following problems, as I tried to connect from ssh
> (1.2.27) client to openssh (2.1.1p4) server:

Does this patch help?

Otherwise, can you replicate the problem when running the server in
debug mode "ssh -d".

-d

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