Eugeny/russh

Session Disconnecting After ~500 MB Through a Channel or Channel Stream

Closed this issue · 1 comments

I've seen a couple issues regarding large data transfers between channels. I've noticed that after about ~500MB of data, regardless of if it's a ChannelStream (using async read/write) or a Channel (using wait/data), the SSH client disconnects. I'm not sure if that has been resolved yet, but it has been pretty consistent in failing after around 500MB of data from Server to Client or from Client to Server. I'm using a Paramiko Server for my testing in a docker container, so it may be an issue with that, but I just wanted to see if this was a known issue so I can figure out what's going on.

Thanks!

Please disregard, tested with 10GB of data with a Russh Server and was able to get it through without an issue. Maybe it's something in the Paramiko server.