Back to product page
- Introduction
- License agreement
- Classes
- Enumerations
- Exceptions
- WeOnlyDo.Client.SSH
- Methods
- Properties
- AllocatePty
- Authentication
- Blocking
- Columns
- Command
- Compression
- DataOut
- DataReady
- Encryption
- EncryptionList
- ExitSignal
- ExitStatus
- FingerPrintType
- FIPS
- ForwardHost
- ForwardPort
- HMacList
- Hostname
- KeepAlives
- KeyExchangeList
- KeyFowarding
- Login
- Password
- Port
- PrivateKey
- Prompt
- Protocol
- ProxyHostname
- ProxyLogin
- ProxyPassword
- ProxyPort
- ProxyType
- RemoteIdentification
- Rows
- ShowStdErrorMessages
- State
- StripANSI
- Subsystem
- TerminalType
- Timeout
- Version
- Events
- How to get support?
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.