Creating a new SSH session

Top  Previous  Next

To begin a new SSH session create a new SshSession instance using one of the provided constructors.

 

Example

 

[C#]

 

// create a new SshSession instance

SshSession session = new SshSession(hostname,username,password);

 

[VB]

 

' create new SshSession instance

Dim session As SshSession = New SshSession(hostname, username, password)