Back to product page

Subsystem property


Specifies the subsystem to be started upon connection.

Type

A String value. Subsystem to be started upon successful connection.

Syntax

  • Basic
object.Subsystem [= value]
The Subsystem(object,value) syntax has these parts:
objectAn expression evaluating to an object of type wodSSH.
valueA String value.

Remarks

If this property is set, wodSSH 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 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