Releasing a connection |
To close the connection invoke the IpClientSsh.Disconnect method. You should always close connections once you are finished with the session.
Example
[C#]
// disconnect and close tunnel
ssh.Disconnect();
[VB]
' disconnect and close tunnel
ssh.Disconnect