libssh2_channel_open_ex (3) Linux Manual Page
libssh2_channel_open_ex – establish a generic session channel Synopsis#include <libssh2.h> LIBSSH2_CHANNEL * libssh2_channel_open_ex(LIBSSH2_SESSION *session, const char *channel_type, unsigned int channel_type_len, unsigned int window_size, unsigned int packet_size, const char *message, unsigned int message_len); LIBSSH2_CHANNEL * libssh2_channel_open_session(session); Descriptionsession – Session instance as returned by libssh2_session_init_ex(3) channel_type – Channel type to open. Typically one of session, direct-tcpip, or tcpip-forward….
