On Tue, 8 Aug 2000, chi wrote:

> I've different problems when I remote login :
> 
> stdin: is not a tty
> -bash: ts/1: No such file or directory
> -bash: hostname: command not found
> -bash: syntax error near unexpected token `;n'
> -bash: -bash: line 147138: `;nk9:0'
> any ideas?
 
You are running 2.1.1p4 out of inetd or similar? Try this patch:

Index: sshd.c
===================================================================
RCS file: /var/cvs/openssh/sshd.c,v
retrieving revision 1.85
retrieving revision 1.86
diff -u -r1.85 -r1.86
--- sshd.c      2000/07/11 23:45:27     1.85
+++ sshd.c      2000/07/21 00:19:45     1.86
@@ -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: [EMAIL PROTECTED] (home) -or- [EMAIL PROTECTED] (work)



Reply via email to