bugzilla-daemon at mindrot.org
2003-Apr-09 03:18 UTC
[Bug 540] sshd [priv] doesn't give shell a tty and is killed by ^C too easily
http://bugzilla.mindrot.org/show_bug.cgi?id=540 stuge-openssh-unix-dev at cdy.org changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|sshd [priv] has PPID 1 and |sshd [priv] doesn't give |is killed by ^C in terminal |shell a tty and is killed by | |^C too easily ------- Additional Comments From stuge-openssh-unix-dev at cdy.org 2003-04-09 13:18 ------- Unable to reproduce with sshd -d. sshd -d process tree: 30988 ? S 0:00 sshd -D 30990 p4 S 0:00 \_ -bash 31729 p4 S 0:00 \_ sshd: root at ttyp5 31733 p5 S 0:00 \_ -bash 31816 p5 R 0:00 \_ ps fx sshd -D process tree: 30988 ? S 0:00 sshd -D 30990 p4 S 0:00 \_ -bash 31825 p4 S 0:00 \_ openssh-3.6.1p1/sshd -D 31827 p5 S 0:00 \_ sshd: root at ttyp5 31829 ? S 0:00 \_ -bash 31835 ? R 0:00 \_ ps fx Note that the first two processes are common to the two attempts. Doh, this isn't about the PPID. It's about the tty. Also, using a 3.6.1 client, when logging out from this server, I get two messages: $ logout Connection to cdy.org closed by remote host. Connection to cdy.org closed. I get both of them when "exiting" using ^C as well. I only get the second message "Connection to ... closed." when I use the same client to connect to a different Linux system also running a 3.6.1 sshd but built against libc6. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2003-Apr-09 04:01 UTC
[Bug 540] sshd [priv] doesn't give shell a tty and is killed by ^C too easily
http://bugzilla.mindrot.org/show_bug.cgi?id=540 ------- Additional Comments From dtucker at zip.com.au 2003-04-09 14:01 ------- This is probably related to bug #536. Try the fix from there ("Try adding "#define STREAMS_PUSH_ACQUIRES_CTTY 1" to config.h and recompiling.") and if that's it please close this bug as a duplicate. I didn't look at the MP-RAS thing but it sounds like the same problem. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2003-Apr-09 04:32 UTC
[Bug 540] sshd [priv] doesn't give shell a tty and is killed by ^C too easily
http://bugzilla.mindrot.org/show_bug.cgi?id=540 stuge-openssh-unix-dev at cdy.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE ------- Additional Comments From stuge-openssh-unix-dev at cdy.org 2003-04-09 14:32 ------- Sure is.