1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-27 02:02:26 +00:00

Make SSH_MSG_DISCONNECT reasons less scary (without removing useful content).

[originally from svn r6392]
This commit is contained in:
Ben Harris 2005-10-13 21:51:38 +00:00
parent 309ddb5cad
commit 8fb9bd0216

30
ssh.c
View File

@ -130,21 +130,21 @@
static const char *const ssh2_disconnect_reasons[] = { static const char *const ssh2_disconnect_reasons[] = {
NULL, NULL,
"SSH_DISCONNECT_HOST_NOT_ALLOWED_TO_CONNECT", "host not allowed to connect",
"SSH_DISCONNECT_PROTOCOL_ERROR", "protocol error",
"SSH_DISCONNECT_KEY_EXCHANGE_FAILED", "key exchange failed",
"SSH_DISCONNECT_HOST_AUTHENTICATION_FAILED", "host authentication failed",
"SSH_DISCONNECT_MAC_ERROR", "mac error",
"SSH_DISCONNECT_COMPRESSION_ERROR", "compression error",
"SSH_DISCONNECT_SERVICE_NOT_AVAILABLE", "service not available",
"SSH_DISCONNECT_PROTOCOL_VERSION_NOT_SUPPORTED", "protocol version not supported",
"SSH_DISCONNECT_HOST_KEY_NOT_VERIFIABLE", "host key not verifiable",
"SSH_DISCONNECT_CONNECTION_LOST", "connection lost",
"SSH_DISCONNECT_BY_APPLICATION", "by application",
"SSH_DISCONNECT_TOO_MANY_CONNECTIONS", "too many connections",
"SSH_DISCONNECT_AUTH_CANCELLED_BY_USER", "auth cancelled by user",
"SSH_DISCONNECT_NO_MORE_AUTH_METHODS_AVAILABLE", "no more auth methods available",
"SSH_DISCONNECT_ILLEGAL_USER_NAME", "illegal user name",
}; };
#define SSH2_OPEN_ADMINISTRATIVELY_PROHIBITED 1 /* 0x1 */ #define SSH2_OPEN_ADMINISTRATIVELY_PROHIBITED 1 /* 0x1 */