>The attached patch fixes the problem by putting our stderr fd back >into blocking I/O mode. A bit of digging in the openssh bugzilla throws up this: http://bugzilla.mindrot.org/show_bug.cgi?id=26 which suggests that ssh really does want to keep stderr non-blocking :-( Cheers, ---- David