Crestron Simpl # and Simpl # Pro Help
Crestron Simpl # and Simpl # Pro Help
Crestron.SimplSharp.Ssh
SshClient Class
SshClient Methods
AddForwardedPort Method
CreateCommand Method
CreateShell Method
CreateShellStream Method
Dispose Method
OnDisconnected Method
OnDisconnecting Method
RemoveForwardedPort Method
RunCommand Method
Ssh
Client
Add
Forwarded
Port Method
Adds the forwarded port.
Namespace:
Crestron.SimplSharp.Ssh
Assembly:
SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntax
C#
Copy
public
void
AddForwardedPort
(
ForwardedPort
port
)
Parameters
port
ForwardedPort
The port.
Exceptions
Exception
Condition
InvalidOperationException
Forwarded port is already added to a different client.
ArgumentNullException
port
is null.
InvalidOperationException
Port is already forwarded
SshConnectionException
Client is not connected.
Version Information
.NET
Supported in: 6.0
.NET Compact Framework
Supported in: 3.5
See Also
Reference
SshClient Class
Crestron.SimplSharp.Ssh Namespace