I attached sources to test the bug. The bug occurred in last version from SVN. Last official release of 2013 year works fine.
Comments: ** Comment from web user: drieseng **
Comments: ** Comment from web user: drieseng **
I only had time to take a quick look, but the issue appears to be specific to this ssh server.
I can even reproduce the issue using WinSCP.