[Bug 350] New: sshd leaks fd to pty for interactive sessions

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Wed Jul 10 20:03:57 EST 2002


http://bugzilla.mindrot.org/show_bug.cgi?id=350

           Summary: sshd leaks fd to pty for interactive sessions
           Product: Portable OpenSSH
           Version: -current
          Platform: ix86
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: sshd
        AssignedTo: openssh-unix-dev at mindrot.org
        ReportedBy: mindrot at extern.wiggy.net


Using OpenSSH 3.4p1 with publickey authentication I get an
extra fd 10 to the pty:

[tornado;~]-15> ssh localhost

[tornado;~]-1> ls -l /proc/467/fd
total 0
lrwx------    1 wichert  wichert        64 Jul 10 12:02 0 -> /dev/pts/3
lrwx------    1 wichert  wichert        64 Jul 10 12:02 1 -> /dev/pts/3
lrwx------    1 wichert  wichert        64 Jul 10 12:02 10 -> /dev/pts/3
lrwx------    1 wichert  wichert        64 Jul 10 12:02 2 -> /dev/pts/3

(467 being the pid of the shell created)



------- 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