From afb4d0dc59fc661d118c0d23b430712a6a302443 Mon Sep 17 00:00:00 2001 From: ben Date: Thu, 13 Oct 2005 21:51:38 +0000 Subject: [PATCH] Make SSH_MSG_DISCONNECT reasons less scary (without removing useful content). git-svn-id: svn://svn.tartarus.org/sgt/putty@6392 cda61777-01e9-0310-a592-d414129be87e --- ssh.c | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/ssh.c b/ssh.c index d1b7acc7..c55d2174 100644 --- a/ssh.c +++ b/ssh.c @@ -130,21 +130,21 @@ static const char *const ssh2_disconnect_reasons[] = { NULL, - "SSH_DISCONNECT_HOST_NOT_ALLOWED_TO_CONNECT", - "SSH_DISCONNECT_PROTOCOL_ERROR", - "SSH_DISCONNECT_KEY_EXCHANGE_FAILED", - "SSH_DISCONNECT_HOST_AUTHENTICATION_FAILED", - "SSH_DISCONNECT_MAC_ERROR", - "SSH_DISCONNECT_COMPRESSION_ERROR", - "SSH_DISCONNECT_SERVICE_NOT_AVAILABLE", - "SSH_DISCONNECT_PROTOCOL_VERSION_NOT_SUPPORTED", - "SSH_DISCONNECT_HOST_KEY_NOT_VERIFIABLE", - "SSH_DISCONNECT_CONNECTION_LOST", - "SSH_DISCONNECT_BY_APPLICATION", - "SSH_DISCONNECT_TOO_MANY_CONNECTIONS", - "SSH_DISCONNECT_AUTH_CANCELLED_BY_USER", - "SSH_DISCONNECT_NO_MORE_AUTH_METHODS_AVAILABLE", - "SSH_DISCONNECT_ILLEGAL_USER_NAME", + "host not allowed to connect", + "protocol error", + "key exchange failed", + "host authentication failed", + "mac error", + "compression error", + "service not available", + "protocol version not supported", + "host key not verifiable", + "connection lost", + "by application", + "too many connections", + "auth cancelled by user", + "no more auth methods available", + "illegal user name", }; #define SSH2_OPEN_ADMINISTRATIVELY_PROHIBITED 1 /* 0x1 */ -- 2.11.0