[Bug 1365] sftp exits immediately after connection (fgets EAGAIN)

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Tue Sep 18 22:42:33 EST 2007


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


Damien Miller <djm at mindrot.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |djm at mindrot.org




--- Comment #4 from Damien Miller <djm at mindrot.org>  2007-09-18 22:42:29 ---
Can you replicate the problem running with OpenSSH ssh, or by bypassing
ssh entirely and having sftp talk directly to sftp-server? You can do
the latter using a commandline like the following:

sftp -P /usr/libexec/sftp-server blah

If I had to guess what the problem is, it would be that dropbear is
detecting a tty on stderr and putting /dev/tty into non-blocking mode
though it isn't clear why this should interfere with sftp, which is a
separate process.


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


More information about the openssh-bugs mailing list