<PackageReference Include="SSH.NET" Version="2011.12.7" />

ScpClient

public class ScpClient : BaseClient
public uint BufferSize { get; set; }

public TimeSpan OperationTimeout { get; set; }

public ScpClient(ConnectionInfo connectionInfo)

public ScpClient(string host, int port, string username, string password)

public ScpClient(string host, string username, string password)

public ScpClient(string host, int port, string username, PrivateKeyFile[] keyFiles)

public ScpClient(string host, string username, PrivateKeyFile[] keyFiles)

public void Download(string filename, Stream destination)

public void Upload(Stream source, string filename)