.htaccess
9 months ago
ChannelConnectionFailureReason.php
9 months ago
DisconnectReason.php
9 months ago
MessageType.php
9 months ago
MessageTypeExtra.php
9 months ago
TerminalMode.php
9 months ago
index.html
9 months ago
web.config
9 months ago
DisconnectReason.php
32 lines
| 1 | <?php |
| 2 | |
| 3 | declare(strict_types=1); |
| 4 | |
| 5 | namespace phpseclib3\Net\SSH2; |
| 6 | |
| 7 | use phpseclib3\Common\ConstantUtilityTrait; |
| 8 | |
| 9 | /** |
| 10 | * @internal |
| 11 | */ |
| 12 | abstract class DisconnectReason |
| 13 | { |
| 14 | use ConstantUtilityTrait; |
| 15 | |
| 16 | public const HOST_NOT_ALLOWED_TO_CONNECT = 1; |
| 17 | public const PROTOCOL_ERROR = 2; |
| 18 | public const KEY_EXCHANGE_FAILED = 3; |
| 19 | public const RESERVED = 4; |
| 20 | public const MAC_ERROR = 5; |
| 21 | public const COMPRESSION_ERROR = 6; |
| 22 | public const SERVICE_NOT_AVAILABLE = 7; |
| 23 | public const PROTOCOL_VERSION_NOT_SUPPORTED = 8; |
| 24 | public const HOST_KEY_NOT_VERIFIABLE = 9; |
| 25 | public const CONNECTION_LOST = 10; |
| 26 | public const BY_APPLICATION = 11; |
| 27 | public const TOO_MANY_CONNECTIONS = 12; |
| 28 | public const AUTH_CANCELLED_BY_USER = 13; |
| 29 | public const NO_MORE_AUTH_METHODS_AVAILABLE = 14; |
| 30 | public const ILLEGAL_USER_NAME = 15; |
| 31 | } |
| 32 |