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?
ExitStatus property
Holds exit status from SSH connection.
Type
Integer. Exit status of executed SSH command.Syntax
- C#
- VB.NET
Int32 ExitStatus {get; set; };
Property ExitStatus As Int32
Remarks
ExitStatus property is used by some SSH servers when they want to return exit status of the command that was executed (usually through Command property). By default, this property will hold 0 which also declares 'success'. Various executables may return various exit status numbers, which SSH server returns through this property to your applications.NOTE: this property is used only in SSH protocol.