[Bug 637] ssh records that the user has logged out even though an sftp session is active

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Sat Sep 13 07:59:09 EST 2003


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

           Summary: ssh records that the user has logged out even though an
                    sftp session is active
           Product: Portable OpenSSH
           Version: 3.6.1p2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: security
          Priority: P1
         Component: ssh
        AssignedTo: openssh-bugs at mindrot.org
        ReportedBy: micah at cs.swt.edu


problem: whenever you startup a ssh session with a graphical ssh client, fork a
sftp session, and exit the ssh session the wtmp log indicates the user has
logged out even though they still have an open sftp session.

reproducibility: always

workaround: startup a sftp session first, then fork a ssh session.

I believe this bug is related to "session_destroy_all(NULL);" in
"server_loop2(Authctxt *authctxt)" from "serverloop.c".  it appears that the
sftp session is being closed in the wtmp log whenever the parent ssh process exits.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.




More information about the openssh-bugs mailing list