00001 #ifndef __SSH1_H
00002 #define __SSH1_H
00003
00004 #define SSH_MSG_NONE 0
00005 #define SSH_MSG_DISCONNECT 1
00006 #define SSH_SMSG_PUBLIC_KEY 2
00007 #define SSH_CMSG_SESSION_KEY 3
00008 #define SSH_CMSG_USER 4
00009 #define SSH_CMSG_AUTH_RHOSTS 5
00010 #define SSH_CMSG_AUTH_RSA 6
00011 #define SSH_SMSG_AUTH_RSA_CHALLENGE 7
00012 #define SSH_CMSG_AUTH_RSA_RESPONSE 8
00013 #define SSH_CMSG_AUTH_PASSWORD 9
00014 #define SSH_CMSG_REQUEST_PTY 10
00015 #define SSH_CMSG_WINDOW_SIZE 11
00016 #define SSH_CMSG_EXEC_SHELL 12
00017 #define SSH_CMSG_EXEC_CMD 13
00018 #define SSH_SMSG_SUCCESS 14
00019 #define SSH_SMSG_FAILURE 15
00020 #define SSH_CMSG_STDIN_DATA 16
00021 #define SSH_SMSG_STDOUT_DATA 17
00022 #define SSH_SMSG_STDERR_DATA 18
00023 #define SSH_CMSG_EOF 19
00024 #define SSH_SMSG_EXITSTATUS 20
00025 #define SSH_MSG_CHANNEL_OPEN_CONFIRMATION 21
00026 #define SSH_MSG_CHANNEL_OPEN_FAILURE 22
00027 #define SSH_MSG_CHANNEL_DATA 23
00028 #define SSH_MSG_CHANNEL_CLOSE 24
00029 #define SSH_MSG_CHANNEL_CLOSE_CONFIRMATION 25
00030
00031 #define SSH_SMSG_X11_OPEN 27
00032 #define SSH_CMSG_PORT_FORWARD_REQUEST 28
00033 #define SSH_MSG_PORT_OPEN 29
00034 #define SSH_CMSG_AGENT_REQUEST_FORWARDING 30
00035 #define SSH_SMSG_AGENT_OPEN 31
00036 #define SSH_MSG_IGNORE 32
00037 #define SSH_CMSG_EXIT_CONFIRMATION 33
00038 #define SSH_CMSG_X11_REQUEST_FORWARDING 34
00039 #define SSH_CMSG_AUTH_RHOSTS_RSA 35
00040 #define SSH_MSG_DEBUG 36
00041 #define SSH_CMSG_REQUEST_COMPRESSION 37
00042 #define SSH_CMSG_MAX_PACKET_SIZE 38
00043 #define SSH_CMSG_AUTH_TIS 39
00044 #define SSH_SMSG_AUTH_TIS_CHALLENGE 40
00045 #define SSH_CMSG_AUTH_TIS_RESPONSE 41
00046 #define SSH_CMSG_AUTH_KERBEROS 42
00047 #define SSH_SMSG_AUTH_KERBEROS_RESPONSE 43
00048 #define SSH_CMSG_HAVE_KERBEROS_TGT 44
00049 #define SSH_CMSG_HAVE_AFS_TOKEN 65
00050
00051
00052 #define SSH_MSG_CHANNEL_INPUT_EOF SSH_MSG_CHANNEL_CLOSE
00053 #define SSH_MSG_CHANNEL_OUTPUT_CLOSE SSH_MSG_CHANNEL_CLOSE_CONFIRMATION
00054
00055
00056
00057
00058
00059 #define SSH_AUTH_RHOSTS 1
00060 #define SSH_AUTH_RSA 2
00061 #define SSH_AUTH_PASSWORD 3
00062 #define SSH_AUTH_RHOSTS_RSA 4
00063 #define SSH_AUTH_TIS 5
00064 #define SSH_AUTH_KERBEROS 6
00065 #define SSH_PASS_KERBEROS_TGT 7
00066
00067 #define SSH_PASS_AFS_TOKEN 21
00068
00069
00070 #define SSH_PROTOFLAG_SCREEN_NUMBER 1
00071 #define SSH_PROTOFLAG_HOST_IN_FWD_OPEN 2
00072
00073
00074 #define SSH_CIPHER_NONE 0
00075 #define SSH_CIPHER_IDEA 1
00076 #define SSH_CIPHER_DES 2
00077 #define SSH_CIPHER_3DES 3
00078 #define SSH_CIPHER_RC4 5
00079 #define SSH_CIPHER_BLOWFISH 6
00080
00081 #endif
00082