PowerShell / PowerShell/Win32-OpenSSH
The ssh input is very slow
Nobody has claimed this yet.
- Dominant language
- No language data
- Stars
- 8.3k
- Forks
- 819
- PR merge metrics
- No merged PRs in 30d
Description
I'm making trzsz, which similar to lrzsz.
The trzsz wraps ssh in cmd. The download speed is fast as expected, but the upload speed is very slow.
Troubleshooting steps
- Download
trzsz.exefrom trzsz_windows_amd64.zip, ormakeit yourself.
git clone https://github.com/trzsz/trzsz-go.git
cd trzsz-go
GOOS=windows make
- Add
trzsz.exebeforessh, login to a server. e.g.:
.\trzsz.exe ssh yourname@127.0.0.1
- Install
trzszon the server. Require the test version0.2.111:
sudo python3 -m pip install --upgrade -i https://test.pypi.org/simple/ trzsz==0.2.111
-
command
trzto upload a file. -
The
trzsz.exewill read the file and send the content to thesshstdin.
Thetrzwill read the content from stdin and save it to the server.
"OpenSSH for Windows" version
V8.9.1.0p1-Beta
Actual output
The upload speed is about 24 KB/s.
Is the ssh process having a small buffer, and the input data from stdin is not processed in time?

Expected output
The upload speed should be above 2 MB/s, same as on ubuntu.

Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the upload through trzsz.exe ssh on Windows with OpenSSH V8.9.1.0p1-Beta, then compare stdin throughput with Ubuntu. Done when upload reaches the expected rate and the behavior is covered by a repeatable test or benchmark.
Written by the indexing model from the issue text.
Assessment
- Domain
- cli, networking, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 28/100