Back to product page

AllocatePty property


Determines if pseudo terminal is allocated.

Type

Boolean. When set to True (default), pseudo terminal (PTY) on remote server is allocated.

Syntax

  • C#
  • VB.NET
Boolean AllocatePty {get; set; };

Property AllocatePty As Boolean

Remarks

By default, wodSSH.NET 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 pseudo terminal is not allocated, server usually does not send echo characters back to the client.

If you want to use Command property AND want to use AllocatePty = True, make sure you set AllocatePty after setting the Command property.

Platforms

Windows