SshClient Constructor (String, String, String)SSH .NET Client Library Documentation
Initializes a new instance of the SshClient class.

Namespace: Renci.SshNet
Assembly: Renci.SshNet (in Renci.SshNet.dll) Version: 0.1.0.0 (1.0.0.0)
Syntax

public SshClient(
	string host,
	string username,
	string password
)
Exceptions

Examples

using (var client = new SshClient(host, username, password))
{
    client.Connect();
    //  Do something here
    client.Disconnect();
}
See Also