Contributed by Atsuhiko Yamanaka jsch 0.1.30 has improved the stream handling internally and it must be flushed explicitly. git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@489755 13f79535-47bb-0310-9956-ffa450edef68