The Apache SSH server is also broken in that it sends SSH_MSG_CHANNEL_EOF
SSH_MSG_CHANNEL_REQUEST("exit-status") after SSH_MSG_CHANNEL_CLOSE has
Reported by Cryptzone developing the excellent Mindterm ssh/sftp client
After a file transfer the session is disconnected because of this, so after a transmission you can't continue working, but have to reestablish the connection.
Some more information from cryptzone,
to replicate the error
connect via ssh,
start the sftp module,
transfer a number of files,
transfer is ok,
but then the whole session is disconnected.