- channel_auth_agent_req_function
ssh_channel_auth_agent_req_callback channel_auth_agent_req_function;
This function will be called when a client requests agent
authentication forwarding.
- channel_close_function
ssh_channel_close_callback channel_close_function;
This functions will be called when the channel has been closed by remote
- channel_data_function
ssh_channel_data_callback channel_data_function;
This functions will be called when there is data available.
- channel_env_request_function
ssh_channel_env_request_callback channel_env_request_function;
This function will be called when a client requests an environment
variable to be set.
- channel_eof_function
ssh_channel_eof_callback channel_eof_function;
This functions will be called when the channel has received an EOF.
- channel_exec_request_function
ssh_channel_exec_request_callback channel_exec_request_function;
This function will be called when a client requests a
command execution.
- channel_exit_signal_function
ssh_channel_exit_signal_callback channel_exit_signal_function;
This functions will be called when an exit signal has been received
- channel_exit_status_function
ssh_channel_exit_status_callback channel_exit_status_function;
This functions will be called when an exit status has been received
- channel_pty_request_function
ssh_channel_pty_request_callback channel_pty_request_function;
This function will be called when a client requests a PTY
- channel_pty_window_change_function
ssh_channel_pty_window_change_callback channel_pty_window_change_function;
This function will be called when a client requests a
window change.
- channel_shell_request_function
ssh_channel_shell_request_callback channel_shell_request_function;
This function will be called when a client requests a shell
- channel_signal_function
ssh_channel_signal_callback channel_signal_function;
This functions will be called when a signal has been received
- channel_subsystem_request_function
ssh_channel_subsystem_request_callback channel_subsystem_request_function;
This function will be called when a client requests a subsystem
(like sftp).
- channel_x11_req_function
ssh_channel_x11_req_callback channel_x11_req_function;
This function will be called when a client requests X11
forwarding.
- size
size_t size;
DON'T SET THIS use ssh_callbacks_init() instead.
- userdata
void* userdata;
User-provided data. User is free to set anything he wants here