libssh
0.12.0
The SSH library
Loading...
Searching...
No Matches
ssh2.h
1
#ifndef __SSH2_H
2
#define __SSH2_H
3
4
#define SSH2_MSG_DISCONNECT 1
5
#define SSH2_MSG_IGNORE 2
6
#define SSH2_MSG_UNIMPLEMENTED 3
7
#define SSH2_MSG_DEBUG 4
8
#define SSH2_MSG_SERVICE_REQUEST 5
9
#define SSH2_MSG_SERVICE_ACCEPT 6
10
#define SSH2_MSG_EXT_INFO 7
11
12
#define SSH2_MSG_KEXINIT 20
13
#define SSH2_MSG_NEWKEYS 21
14
15
#define SSH2_MSG_KEXDH_INIT 30
16
#define SSH2_MSG_KEXDH_REPLY 31
17
#define SSH2_MSG_KEX_ECDH_INIT 30
18
#define SSH2_MSG_KEX_ECDH_REPLY 31
19
#define SSH2_MSG_KEX_HYBRID_INIT 30
20
#define SSH2_MSG_KEX_HYBRID_REPLY 31
21
22
#define SSH2_MSG_KEX_DH_GEX_REQUEST_OLD 30
23
#define SSH2_MSG_KEX_DH_GEX_GROUP 31
24
#define SSH2_MSG_KEX_DH_GEX_INIT 32
25
#define SSH2_MSG_KEX_DH_GEX_REPLY 33
26
#define SSH2_MSG_KEX_DH_GEX_REQUEST 34
27
28
#define SSH2_MSG_KEXGSS_INIT 30
29
#define SSH2_MSG_KEXGSS_CONTINUE 31
30
#define SSH2_MSG_KEXGSS_COMPLETE 32
31
#define SSH2_MSG_KEXGSS_HOSTKEY 33
32
#define SSH2_MSG_KEXGSS_ERROR 34
33
#define SSH2_MSG_KEXGSS_GROUPREQ 40
34
#define SSH2_MSG_KEXGSS_GROUP 41
35
36
#define SSH2_MSG_USERAUTH_REQUEST 50
37
#define SSH2_MSG_USERAUTH_FAILURE 51
38
#define SSH2_MSG_USERAUTH_SUCCESS 52
39
#define SSH2_MSG_USERAUTH_BANNER 53
40
#define SSH2_MSG_USERAUTH_PK_OK 60
41
#define SSH2_MSG_USERAUTH_PASSWD_CHANGEREQ 60
42
#define SSH2_MSG_USERAUTH_INFO_REQUEST 60
43
#define SSH2_MSG_USERAUTH_GSSAPI_RESPONSE 60
44
#define SSH2_MSG_USERAUTH_INFO_RESPONSE 61
45
#define SSH2_MSG_USERAUTH_GSSAPI_TOKEN 61
46
#define SSH2_MSG_USERAUTH_GSSAPI_EXCHANGE_COMPLETE 63
47
#define SSH2_MSG_USERAUTH_GSSAPI_ERROR 64
48
#define SSH2_MSG_USERAUTH_GSSAPI_ERRTOK 65
49
#define SSH2_MSG_USERAUTH_GSSAPI_MIC 66
50
51
#define SSH2_MSG_GLOBAL_REQUEST 80
52
#define SSH2_MSG_REQUEST_SUCCESS 81
53
#define SSH2_MSG_REQUEST_FAILURE 82
54
#define SSH2_MSG_CHANNEL_OPEN 90
55
#define SSH2_MSG_CHANNEL_OPEN_CONFIRMATION 91
56
#define SSH2_MSG_CHANNEL_OPEN_FAILURE 92
57
#define SSH2_MSG_CHANNEL_WINDOW_ADJUST 93
58
#define SSH2_MSG_CHANNEL_DATA 94
59
#define SSH2_MSG_CHANNEL_EXTENDED_DATA 95
60
#define SSH2_MSG_CHANNEL_EOF 96
61
#define SSH2_MSG_CHANNEL_CLOSE 97
62
#define SSH2_MSG_CHANNEL_REQUEST 98
63
#define SSH2_MSG_CHANNEL_SUCCESS 99
64
#define SSH2_MSG_CHANNEL_FAILURE 100
65
66
#define SSH2_DISCONNECT_HOST_NOT_ALLOWED_TO_CONNECT 1
67
#define SSH2_DISCONNECT_PROTOCOL_ERROR 2
68
#define SSH2_DISCONNECT_KEY_EXCHANGE_FAILED 3
69
#define SSH2_DISCONNECT_HOST_AUTHENTICATION_FAILED 4
70
#define SSH2_DISCONNECT_RESERVED 4
71
#define SSH2_DISCONNECT_MAC_ERROR 5
72
#define SSH2_DISCONNECT_COMPRESSION_ERROR 6
73
#define SSH2_DISCONNECT_SERVICE_NOT_AVAILABLE 7
74
#define SSH2_DISCONNECT_PROTOCOL_VERSION_NOT_SUPPORTED 8
75
#define SSH2_DISCONNECT_HOST_KEY_NOT_VERIFIABLE 9
76
#define SSH2_DISCONNECT_CONNECTION_LOST 10
77
#define SSH2_DISCONNECT_BY_APPLICATION 11
78
#define SSH2_DISCONNECT_TOO_MANY_CONNECTIONS 12
79
#define SSH2_DISCONNECT_AUTH_CANCELLED_BY_USER 13
80
#define SSH2_DISCONNECT_NO_MORE_AUTH_METHODS_AVAILABLE 14
81
#define SSH2_DISCONNECT_ILLEGAL_USER_NAME 15
82
83
#define SSH2_OPEN_ADMINISTRATIVELY_PROHIBITED 1
84
#define SSH2_OPEN_CONNECT_FAILED 2
85
#define SSH2_OPEN_UNKNOWN_CHANNEL_TYPE 3
86
#define SSH2_OPEN_RESOURCE_SHORTAGE 4
87
88
#define SSH2_EXTENDED_DATA_STDERR 1
89
90
#endif
include
libssh
ssh2.h
Generated by
1.16.1