Back to product page

Subsystem property


Specifies the subsystem to be started upon connection.

Type

String. Subsystem to be started upon successful connection.

Syntax

  • C#
  • VB.NET
String Subsystem {get; set; };

Property Subsystem As String

Remarks

If this property is set, wodSSH.NET will try to start the subsystem (such as 'sftp' or 'dtcp') upon successful connection. For SSH2 protocol this feature is implemented by the protocol specification. However, for the SSH1 and Telnet protocols this property is ignored.

Upon execution of the subsystem, wodSSH.NET will wait for output returned by the subsystem, and will disconnect after receiving it.

Please note that value of this property is ignored if Command property is set. Also, setting this property causes AllocatePty to be set to False - so you must set it back to True if you wish after setting this command.

Platforms

Windows