1 module libssh.c_bindings.ssh2; 2 3 enum auto SSH2_MSG_DISCONNECT = 1; 4 enum auto SSH2_MSG_IGNORE = 2; 5 enum auto SSH2_MSG_UNIMPLEMENTED = 3; 6 enum auto SSH2_MSG_DEBUG = 4; 7 enum auto SSH2_MSG_SERVICE_REQUEST = 5; 8 enum auto SSH2_MSG_SERVICE_ACCEPT = 6; 9 10 enum auto SSH2_MSG_KEXINIT = 20; 11 enum auto SSH2_MSG_NEWKEYS = 21; 12 13 enum auto SSH2_MSG_KEXDH_INIT = 30; 14 enum auto SSH2_MSG_KEXDH_REPLY = 31; 15 enum auto SSH2_MSG_KEX_ECDH_INIT = 30; 16 enum auto SSH2_MSG_KEX_ECDH_REPLY = 31; 17 enum auto SSH2_MSG_ECMQV_INIT = 30; 18 enum auto SSH2_MSG_ECMQV_REPLY = 31; 19 20 enum auto SSH2_MSG_KEX_DH_GEX_REQUEST_OLD = 30; 21 enum auto SSH2_MSG_KEX_DH_GEX_GROUP = 31; 22 enum auto SSH2_MSG_KEX_DH_GEX_INIT = 32; 23 enum auto SSH2_MSG_KEX_DH_GEX_REPLY = 33; 24 enum auto SSH2_MSG_KEX_DH_GEX_REQUEST = 34; 25 enum auto SSH2_MSG_USERAUTH_REQUEST = 50; 26 enum auto SSH2_MSG_USERAUTH_FAILURE = 51; 27 enum auto SSH2_MSG_USERAUTH_SUCCESS = 52; 28 enum auto SSH2_MSG_USERAUTH_BANNER = 53; 29 enum auto SSH2_MSG_USERAUTH_PK_OK = 60; 30 enum auto SSH2_MSG_USERAUTH_PASSWD_CHANGEREQ = 60; 31 enum auto SSH2_MSG_USERAUTH_INFO_REQUEST = 60; 32 enum auto SSH2_MSG_USERAUTH_GSSAPI_RESPONSE = 60; 33 enum auto SSH2_MSG_USERAUTH_INFO_RESPONSE = 61; 34 enum auto SSH2_MSG_USERAUTH_GSSAPI_TOKEN = 61; 35 enum auto SSH2_MSG_USERAUTH_GSSAPI_EXCHANGE_COMPLETE = 63; 36 enum auto SSH2_MSG_USERAUTH_GSSAPI_ERROR = 64; 37 enum auto SSH2_MSG_USERAUTH_GSSAPI_ERRTOK = 65; 38 enum auto SSH2_MSG_USERAUTH_GSSAPI_MIC = 66; 39 40 enum auto SSH2_MSG_GLOBAL_REQUEST = 80; 41 enum auto SSH2_MSG_REQUEST_SUCCESS = 81; 42 enum auto SSH2_MSG_REQUEST_FAILURE = 82; 43 enum auto SSH2_MSG_CHANNEL_OPEN = 90; 44 enum auto SSH2_MSG_CHANNEL_OPEN_CONFIRMATION = 91; 45 enum auto SSH2_MSG_CHANNEL_OPEN_FAILURE = 92; 46 enum auto SSH2_MSG_CHANNEL_WINDOW_ADJUST = 93; 47 enum auto SSH2_MSG_CHANNEL_DATA = 94; 48 enum auto SSH2_MSG_CHANNEL_EXTENDED_DATA = 95; 49 enum auto SSH2_MSG_CHANNEL_EOF = 96; 50 enum auto SSH2_MSG_CHANNEL_CLOSE = 97; 51 enum auto SSH2_MSG_CHANNEL_REQUEST = 98; 52 enum auto SSH2_MSG_CHANNEL_SUCCESS = 99; 53 enum auto SSH2_MSG_CHANNEL_FAILURE = 100; 54 55 enum auto SSH2_DISCONNECT_HOST_NOT_ALLOWED_TO_CONNECT = 1; 56 enum auto SSH2_DISCONNECT_PROTOCOL_ERROR = 2; 57 enum auto SSH2_DISCONNECT_KEY_EXCHANGE_FAILED = 3; 58 enum auto SSH2_DISCONNECT_HOST_AUTHENTICATION_FAILED = 4; 59 enum auto SSH2_DISCONNECT_RESERVED = 4; 60 enum auto SSH2_DISCONNECT_MAC_ERROR = 5; 61 enum auto SSH2_DISCONNECT_COMPRESSION_ERROR = 6; 62 enum auto SSH2_DISCONNECT_SERVICE_NOT_AVAILABLE = 7; 63 enum auto SSH2_DISCONNECT_PROTOCOL_VERSION_NOT_SUPPORTED = 8; 64 enum auto SSH2_DISCONNECT_HOST_KEY_NOT_VERIFIABLE = 9; 65 enum auto SSH2_DISCONNECT_CONNECTION_LOST = 10; 66 enum auto SSH2_DISCONNECT_BY_APPLICATION = 11; 67 enum auto SSH2_DISCONNECT_TOO_MANY_CONNECTIONS = 12; 68 enum auto SSH2_DISCONNECT_AUTH_CANCELLED_BY_USER = 13; 69 enum auto SSH2_DISCONNECT_NO_MORE_AUTH_METHODS_AVAILABLE = 14; 70 enum auto SSH2_DISCONNECT_ILLEGAL_USER_NAME = 15; 71 72 enum auto SSH2_OPEN_ADMINISTRATIVELY_PROHIBITED = 1; 73 enum auto SSH2_OPEN_CONNECT_FAILED = 2; 74 enum auto SSH2_OPEN_UNKNOWN_CHANNEL_TYPE = 3; 75 enum auto SSH2_OPEN_RESOURCE_SHORTAGE = 4; 76 77 enum auto SSH2_EXTENDED_DATA_STDERR = 1;