Now Protocol 2 doesn't work ;)

Anthon Yu anthonyu at yahoo.com
Fri Apr 6 13:25:28 EST 2001


Actually, this is a better workaround:

--- openssh-2.5.2p2-orig/sshpty.c       Sun Mar  4
19:53:03 2001
+++ openssh-2.5.2p2/sshpty.c    Thu Apr  5 19:41:55
2001
@@ -296,6 +296,10 @@
        gid_t gid;
        mode_t mode;
        struct stat st;
+       char *dex;
+
+       if ((dex = index(ttyname, ' ')) != NULL)
+               *dex = 0;
 
        /* Determine the group to make the owner of
the tty. */
        grp = getgrnam("tty");


=====
--
 Au



__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/



More information about the openssh-unix-dev mailing list