Back to product page
- Introduction
- Overview
- License agreement
- Getting Started
- Objects
- Enumerations
- wodSSHD
- Methods
- Properties
- Events
- Connecting
- CryptoInformation
- Disconnected
- LoginGSSAPI
- LoginPassword
- LoginPubkey
- PortBindRequest
- PortForwardConnect
- PortForwardDisconnect
- PortForwardRequest
- Received
- ServiceRequest
- ServiceStart
- SftpDeleteFile
- SftpDownloadFile
- SftpFileTransferData
- SftpListDir
- SftpListDirData
- SftpMakeDir
- SftpProgress
- SftpRemoveDir
- SftpRename
- SftpTransferComplete
- SftpUploadFile
- StateChanged
- IwodSSHDNotify
- Methods
- Connecting
- CryptoInformation
- Disconnected
- LoginGSSAPI
- LoginPassword
- LoginPubkey
- PortBindRequest
- PortForwardConnect
- PortForwardDisconnect
- PortForwardRequest
- Received
- ServiceRequest
- ServiceStart
- SftpDeleteFile
- SftpDownloadFile
- SftpFileTransferData
- SftpListDir
- SftpListDirData
- SftpMakeDir
- SftpProgress
- SftpRemoveDir
- SftpRename
- SftpTransferComplete
- SftpUploadFile
- StateChanged
- Methods
- SSHKeyPair
- SSHUser
- SSHUsers
- How to get support
- Technical information
- Fast notifications
- Error list
ExitReason property
Holds reason for disconnection provided by remote side.
Type
A ExitReasonsEnum enumeration.Syntax
- Basic
object.ExitReason [= value]
The ExitReason(object,value) syntax has these parts:
The ExitReason(object,value) syntax has these parts:
object | An expression evaluating to an object of type SSHUser. |
value | A ExitReasonsEnum enumeration, as described in settings. |
Remarks
The settings for KeyType are:
Constant | Value | Description |
---|---|---|
ReasonUnknown | 0 | Unknown reason. |
ReasonHostNotAllowedToConnect | 1 | Host not allowed to connect. |
ReasonProtocolError | 2 | Protocol error. |
ReasonKeyExchangeFailed | 3 | Key exchange failed. |
ReasonReserved | 4 | Reserved. |
ReasonMacError | 5 | Mac error. |
ReasonCompessionError | 6 | Compression error. |
ReasonServiceNotAvailable | 7 | Service not available. |
ReasonProtocolVersionNotSupported | 8 | Protocol version not supported. |
ReasonHostKeyNotVerifiable | 9 | Host key not verifiable. |
ReasonConnectionLost | 10 | Connection lost. |
ReasonDisconnectByApplication | 11 | Disconnect by application. |
ReasonTooManyConnections | 12 | Too many connections. |
ReasonAuthCancelledByUser | 13 | Authentication cancelled by user. |
ReasonNoMoreAuthMethodsAvailable | 14 | No more authentication methods available. |
ReasonIllegalUserName | 15 | Illegal user name. |
ExitReason property holds reason code provided by the client when he sent disconnect packet to close the connection. This packet is optional, and sent only by some clients. If set, wodSSHServer will put that code to ExitReason property, and text description the reason to ExitDescription property.
You should check this value in Disconnected event.