Back to product page

AllocatePty property


Determines if a pseudo terminal is allocated.

Type

A Boolean value. When set to False, a pseudo terminal is not allocated on the server. Defaults to True.

Syntax

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

Remarks

By default, wodSSH will allocate a pseudo terminal (needed for many UNIX commands to be executed properly) if you did not specify the Command and Subsystem properties.

When a pseudo terminal is not allocated, the server does not usually send echo characters back to the client.

Platforms

Windows