This project is read-only.

Session

Nov 30, 2012 at 12:44 PM

Hi I can connect using the following :

Dim connInfo As PrivateKeyConnectionInfo = New PrivateKeyConnectionInfo("remote.server", "user", key)
client = New SshClient(connInfo)
client.Connect()
port = New ForwardedPortLocal("127.0.0.1", 7000, "localhost", 7000)
client.AddForwardedPort(port)
AddHandler port.Exception, AddressOf OnTunnelError
port.Start()

But I wondered how I could implement "Session" along with this so that I can retrieve the session id?

Regards