Sends command to SSH host terminated by command terminator. Waits until the shell prompt is returned by SSH server buffering response data.

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

Syntax

C#
public string Send(
	string command,
	long timeout
)
Visual Basic
Public Function Send ( _
	command As String, _
	timeout As Long _
) As String
Visual C++
public:
String^ Send(
	String^ command, 
	long long timeout
)

Parameters

command
Type: System..::..String
the command to send
timeout
Type: System..::..Int64
the timeout to use when waiting for task end prompt

Return Value

the server response

See Also