[Bug 540] sshd [priv] doesn't give shell a tty and is killed by ^C too easily
bugzilla-daemon at mindrot.org
bugzilla-daemon at mindrot.org
Wed Apr 9 13:18:55 EST 2003
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.
More information about the openssh-unix-dev
mailing list