[Need help] sshd cannot work on mips-sony-bsd
NAKAJI Hiroyuki
nakaji at tutrp.tut.ac.jp
Fri Oct 6 15:03:37 EST 2000
I made it!
Ben> Ermm.. I wonder if vhangup is either broken or returning an error that is
Ben> not being caught. Or we are trying to move to a tty device that does
Ben> not exist (but it looks like the wrong section of code for that)
Another person who tried informed me a little addition to pty.c
--- openssh-2.1.1p4/pty.c Thu Jun 22 20:32:31 2000
+++ openssh-news4/pty.c Tue Sep 26 13:01:07 2000
@@ -235,6 +235,8 @@
*/
ioctl(*ttyfd, TIOCSCTTY, NULL);
#endif /* TIOCSCTTY */
+ if (setpgrp(0,0) < 0)
+ error("SETPGRP %s",strerror(errno)) ;
#ifdef HAVE_VHANGUP
old = signal(SIGHUP, SIG_IGN);
vhangup();
This makes ssh to work on NEWS-OS 4.x.
Full diff from openssh-2.1.1p4 is available at
ftp://ftp.tutrp.tut.ac.jp/pub/sony-news/openssh.diff
and its md5sum is
1582fab8ab563fcd9293452327441697 openssh.diff
Please check, thanks.
--
NAKAJI Hiroyuki
More information about the openssh-unix-dev
mailing list