Skip to content

Scp transfer is slow #21

Closed
Closed
@manu-st

Description

@manu-st

I've been experimenting with the scp implementation and it is slower compared to the command line tool scp. In my test, it is 5s to copy several files with scp, and 33s with SSH.NET. I noticed that most of the time, it was stuck in a Thread.Sleep (100) in ScpClient.ReadByte, so I changed this to Thread.Sleep(0) and it went down to 15s.

I initially reported this on the old codeplex site and as recommended I'm now filling an issue on GitHub.

This is not blocking as I can use sftp instead which is faster.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions