libssh  0.8.6
The SSH library
Data Fields
ssh_session_struct Struct Reference
Collaboration diagram for ssh_session_struct:
Collaboration graph
[legend]

Data Fields

struct ssh_common_struct common
 
struct ssh_socket_structsocket
 
char * serverbanner
 
char * clientbanner
 
int protoversion
 
int server
 
int client
 
int openssh
 
uint32_t send_seq
 
uint32_t recv_seq
 
int connected
 
int alive
 
int flags
 
uint32_t extensions
 
ssh_string banner
 
char * discon_msg
 
ssh_buffer in_buffer
 
PACKET in_packet
 
ssh_buffer out_buffer
 
enum ssh_pending_call_e pending_call_state
 
enum ssh_session_state_e session_state
 
int packet_state
 
enum ssh_dh_state_e dh_handshake_state
 
enum ssh_channel_request_state_e global_req_state
 
struct ssh_agent_state_structagent_state
 
struct {
   struct ssh_auth_auto_state_struct *   auto_state
 
   enum ssh_auth_service_state_e   service_state
 
   enum ssh_auth_state_e   state
 
   uint32_t   supported_methods
 
   uint32_t   current_method
 
auth
 
int first_kex_follows_guess_wrong
 
ssh_buffer in_hashbuf
 
ssh_buffer out_hashbuf
 
struct ssh_crypto_structcurrent_crypto
 
struct ssh_crypto_structnext_crypto
 
struct ssh_listchannels
 
int maxchannel
 
ssh_agent agent
 
struct ssh_kbdint_structkbdint
 
struct ssh_gssapi_structgssapi
 
struct {
   ssh_key   rsa_key
 
   ssh_key   dsa_key
 
   ssh_key   ecdsa_key
 
   ssh_key   ed25519_key
 
   enum ssh_keytypes_e   hostkey
 
srv
 
struct ssh_listssh_message_list
 
int(* ssh_message_callback )(struct ssh_session_struct *session, ssh_message msg, void *userdata)
 
void * ssh_message_callback_data
 
ssh_server_callbacks server_callbacks
 
void(* ssh_connection_callback )(struct ssh_session_struct *session)
 
struct ssh_packet_callbacks_struct default_packet_callbacks
 
struct ssh_listpacket_callbacks
 
struct ssh_socket_callbacks_struct socket_callbacks
 
ssh_poll_ctx default_poll_ctx
 
struct {
   struct ssh_list *   identity
 
   char *   username
 
   char *   host
 
   char *   bindaddr
 
   char *   sshdir
 
   char *   knownhosts
 
   char *   global_knownhosts
 
   char *   wanted_methods [10]
 
   char *   pubkey_accepted_types
 
   char *   ProxyCommand
 
   char *   custombanner
 
   unsigned long   timeout
 
   unsigned long   timeout_usec
 
   unsigned int   port
 
   socket_t   fd
 
   int   StrictHostKeyChecking
 
   char   compressionlevel
 
   char *   gss_server_identity
 
   char *   gss_client_identity
 
   int   gss_delegate_creds
 
   int   flags
 
   int   nodelay
 
opts
 
ssh_counter socket_counter
 
ssh_counter raw_counter
 

The documentation for this struct was generated from the following file: