• Main Page
  • Related Pages
  • Modules
  • Data Structures
  • Files
  • File List
  • Globals

include/libssh/ssh2.h

00001 #ifndef __SSH2_H
00002 #define __SSH2_H
00003 
00004 #define SSH2_MSG_DISCONNECT 1
00005 #define SSH2_MSG_IGNORE  2
00006 #define SSH2_MSG_UNIMPLEMENTED 3
00007 #define SSH2_MSG_DEBUG  4
00008 #define SSH2_MSG_SERVICE_REQUEST  5
00009 #define SSH2_MSG_SERVICE_ACCEPT 6
00010 
00011 #define SSH2_MSG_KEXINIT   20
00012 #define SSH2_MSG_NEWKEYS 21
00013 
00014 #define SSH2_MSG_KEXDH_INIT 30
00015 #define SSH2_MSG_KEXDH_REPLY 31
00016 
00017 #define SSH2_MSG_KEX_DH_GEX_REQUEST_OLD 30
00018 #define SSH2_MSG_KEX_DH_GEX_GROUP 31
00019 #define SSH2_MSG_KEX_DH_GEX_INIT 32
00020 #define SSH2_MSG_KEX_DH_GEX_REPLY 33
00021 #define SSH2_MSG_KEX_DH_GEX_REQUEST 34
00022 #define SSH2_MSG_USERAUTH_REQUEST 50
00023 #define SSH2_MSG_USERAUTH_FAILURE 51
00024 #define SSH2_MSG_USERAUTH_SUCCESS 52
00025 #define SSH2_MSG_USERAUTH_BANNER 53
00026 #define SSH2_MSG_USERAUTH_PK_OK 60
00027 #define SSH2_MSG_USERAUTH_PASSWD_CHANGEREQ 60
00028 #define SSH2_MSG_USERAUTH_INFO_REQUEST   60
00029 #define SSH2_MSG_USERAUTH_INFO_RESPONSE 61
00030 #define SSH2_MSG_GLOBAL_REQUEST 80
00031 #define SSH2_MSG_REQUEST_SUCCESS 81
00032 #define SSH2_MSG_REQUEST_FAILURE 82
00033 #define SSH2_MSG_CHANNEL_OPEN 90
00034 #define SSH2_MSG_CHANNEL_OPEN_CONFIRMATION 91
00035 #define SSH2_MSG_CHANNEL_OPEN_FAILURE 92
00036 #define SSH2_MSG_CHANNEL_WINDOW_ADJUST 93
00037 #define SSH2_MSG_CHANNEL_DATA 94
00038 #define SSH2_MSG_CHANNEL_EXTENDED_DATA 95
00039 #define SSH2_MSG_CHANNEL_EOF  96
00040 #define SSH2_MSG_CHANNEL_CLOSE 97
00041 #define SSH2_MSG_CHANNEL_REQUEST 98
00042 #define SSH2_MSG_CHANNEL_SUCCESS 99
00043 #define SSH2_MSG_CHANNEL_FAILURE 100
00044 
00045 #define SSH2_DISCONNECT_HOST_NOT_ALLOWED_TO_CONNECT 1
00046 #define SSH2_DISCONNECT_PROTOCOL_ERROR 2
00047 #define SSH2_DISCONNECT_KEY_EXCHANGE_FAILED 3
00048 #define SSH2_DISCONNECT_HOST_AUTHENTICATION_FAILED 4
00049 #define SSH2_DISCONNECT_RESERVED   4
00050 #define SSH2_DISCONNECT_MAC_ERROR 5
00051 #define SSH2_DISCONNECT_COMPRESSION_ERROR 6
00052 #define SSH2_DISCONNECT_SERVICE_NOT_AVAILABLE 7
00053 #define SSH2_DISCONNECT_PROTOCOL_VERSION_NOT_SUPPORTED 8
00054 #define SSH2_DISCONNECT_HOST_KEY_NOT_VERIFIABLE 9
00055 #define SSH2_DISCONNECT_CONNECTION_LOST 10
00056 #define SSH2_DISCONNECT_BY_APPLICATION 11
00057 #define SSH2_DISCONNECT_TOO_MANY_CONNECTIONS 12
00058 #define SSH2_DISCONNECT_AUTH_CANCELLED_BY_USER 13
00059 #define SSH2_DISCONNECT_NO_MORE_AUTH_METHODS_AVAILABLE 14
00060 #define SSH2_DISCONNECT_ILLEGAL_USER_NAME 15
00061 
00062 #define SSH2_OPEN_ADMINISTRATIVELY_PROHIBITED   1
00063 #define SSH2_OPEN_CONNECT_FAILED      2
00064 #define SSH2_OPEN_UNKNOWN_CHANNEL_TYPE      3
00065 #define SSH2_OPEN_RESOURCE_SHORTAGE     4
00066 
00067 #define SSH2_EXTENDED_DATA_STDERR     1
00068 
00069 #endif

Generated by  doxygen 1.7.1