[Bug 1471] New: sshd can block if authorized_keys is a named pipe

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Tue May 27 00:02:01 EST 2008


https://bugzilla.mindrot.org/show_bug.cgi?id=1471

           Summary: sshd can block if authorized_keys is a named pipe
    Classification: Unclassified
           Product: Portable OpenSSH
           Version: 4.7p1
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: minor
          Priority: P2
         Component: sshd
        AssignedTo: bitbucket at mindrot.org
        ReportedBy: cjwatson at debian.org


Solar Designer noticed indirectly that sshd child processes (and
probably other parts of OpenSSH) can block if ~/.ssh/authorized_keys is
a named pipe with an open writer. Perhaps it would be worth checking
S_ISREG before trying to open a key file?

(I'm hoping nobody is actually relying on this as a feature. I can't
imagine how you'd do so reliably.)

-- 
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list