Creates a new session instance.

Namespace: Jscape.Ssh
Assembly: Jscape.Ssh (in Jscape.Ssh.dll) Version: 2.7.2.0

Syntax

C#
public SshSession(
	string hostname,
	string username,
	string password
)
Visual Basic
Public Sub New ( _
	hostname As String, _
	username As String, _
	password As String _
)
Visual C++
public:
SshSession(
	String^ hostname, 
	String^ username, 
	String^ password
)

Parameters

hostname
Type: System..::..String
the server hostname
username
Type: System..::..String
the username
password
Type: System..::..String
the user password

See Also