libssh.c_bindings.server

Undocumented in source.

Members

Aliases

ssh_bind
alias ssh_bind = ssh_bind_struct*
Undocumented in source.
ssh_bind_callbacks
alias ssh_bind_callbacks = ssh_bind_callbacks_struct*
Undocumented in source.
ssh_bind_incoming_connection_callback
alias ssh_bind_incoming_connection_callback = void function(ssh_bind sshbind, void* userdata)

@brief Incoming connection callback. This callback is called when a ssh_bind has a new incoming connection. @param sshbind Current sshbind session handler @param userdata Userdata to be passed to the callback function.

ssh_bind_message_callback_type
alias ssh_bind_message_callback_type = int function(ssh_session session, ssh_message msg, void* data)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Enums

ssh_bind_options_e
enum ssh_bind_options_e
Undocumented in source.

Functions

channel_write_stderr
deprecated int channel_write_stderr(ssh_channel channel, void* data, uint len)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
ssh_accept
deprecated int ssh_accept(ssh_session session)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
ssh_bind_accept
int ssh_bind_accept(ssh_bind ssh_bind_o, ssh_session session)

@brief Accept an incoming ssh connection and initialize the session.

ssh_bind_accept_fd
int ssh_bind_accept_fd(ssh_bind ssh_bind_o, ssh_session session, socket_t fd)

@brief Accept an incoming ssh connection on the given file descriptor and initialize the session.

ssh_bind_fd_toaccept
void ssh_bind_fd_toaccept(ssh_bind ssh_bind_o)

* @brief Allow the file descriptor to accept new sessions.

ssh_bind_free
void ssh_bind_free(ssh_bind ssh_bind_o)

@brief Free a ssh servers bind.

ssh_bind_get_fd
socket_t ssh_bind_get_fd(ssh_bind ssh_bind_o)

@brief Recover the file descriptor from the session.

ssh_bind_listen
int ssh_bind_listen(ssh_bind ssh_bind_o)

@brief Start listening to the socket.

ssh_bind_new
ssh_bind ssh_bind_new()

@brief Creates a new SSH server bind.

ssh_bind_options_set
int ssh_bind_options_set(ssh_bind sshbind, ssh_bind_options_e type, void* value)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
ssh_bind_set_blocking
void ssh_bind_set_blocking(ssh_bind ssh_bind_o, int blocking)

@brief Set the session to blocking/nonblocking mode.

ssh_bind_set_callbacks
int ssh_bind_set_callbacks(ssh_bind sshbind, ssh_bind_callbacks callbacks, void* userdata)

@brief Set the callback for this bind.

ssh_bind_set_fd
void ssh_bind_set_fd(ssh_bind ssh_bind_o, socket_t fd)

@brief Set the file descriptor for a session.

ssh_channel_open_reverse_forward
int ssh_channel_open_reverse_forward(ssh_channel channel, char* remotehost, int remoteport, char* sourcehost, int localport)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
ssh_channel_request_send_exit_signal
int ssh_channel_request_send_exit_signal(ssh_channel channel, char* signum, int core, char* errmsg, char* lang)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
ssh_channel_request_send_exit_status
int ssh_channel_request_send_exit_status(ssh_channel channel, int exit_status)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
ssh_channel_write_stderr
int ssh_channel_write_stderr(ssh_channel channel, void* data, uint len)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
ssh_execute_message_callbacks
int ssh_execute_message_callbacks(ssh_session session)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
ssh_gssapi_get_creds
ssh_gssapi_creds ssh_gssapi_get_creds(ssh_session session)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
ssh_handle_key_exchange
int ssh_handle_key_exchange(ssh_session session)

@brief Handles the key exchange and set up encryption

ssh_message_auth_interactive_request
int ssh_message_auth_interactive_request(ssh_message msg, char* name, char* instruction, uint num_prompts, char** prompts, char* echo)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
ssh_message_auth_kbdint_is_response
int ssh_message_auth_kbdint_is_response(ssh_message msg)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
ssh_message_auth_password
const(char)* ssh_message_auth_password(ssh_message msg)

@brief Get the password of the authenticated user.

ssh_message_auth_pubkey
ssh_key ssh_message_auth_pubkey(ssh_message msg)

@brief Get the publickey of the authenticated user.

ssh_message_auth_reply_pk_ok
int ssh_message_auth_reply_pk_ok(ssh_message msg, ssh_string algo, ssh_string pubkey)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
ssh_message_auth_reply_pk_ok_simple
int ssh_message_auth_reply_pk_ok_simple(ssh_message msg)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
ssh_message_auth_reply_success
int ssh_message_auth_reply_success(ssh_message msg, int partial)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
ssh_message_auth_set_methods
int ssh_message_auth_set_methods(ssh_message msg, int methods)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
ssh_message_auth_user
const(char)* ssh_message_auth_user(ssh_message msg)

@brief Get the name of the authenticated user.

ssh_message_channel_request_channel
ssh_channel ssh_message_channel_request_channel(ssh_message msg)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
ssh_message_channel_request_command
const(char)* ssh_message_channel_request_command(ssh_message msg)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
ssh_message_channel_request_env_name
const(char)* ssh_message_channel_request_env_name(ssh_message msg)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
ssh_message_channel_request_env_value
const(char)* ssh_message_channel_request_env_value(ssh_message msg)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
ssh_message_channel_request_open_destination
const(char)* ssh_message_channel_request_open_destination(ssh_message msg)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
ssh_message_channel_request_open_destination_port
int ssh_message_channel_request_open_destination_port(ssh_message msg)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
ssh_message_channel_request_open_originator
const(char)* ssh_message_channel_request_open_originator(ssh_message msg)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
ssh_message_channel_request_open_originator_port
int ssh_message_channel_request_open_originator_port(ssh_message msg)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
ssh_message_channel_request_pty_height
int ssh_message_channel_request_pty_height(ssh_message msg)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
ssh_message_channel_request_pty_pxheight
int ssh_message_channel_request_pty_pxheight(ssh_message msg)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
ssh_message_channel_request_pty_pxwidth
int ssh_message_channel_request_pty_pxwidth(ssh_message msg)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
ssh_message_channel_request_pty_term
const(char)* ssh_message_channel_request_pty_term(ssh_message msg)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
ssh_message_channel_request_pty_width
int ssh_message_channel_request_pty_width(ssh_message msg)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
ssh_message_channel_request_subsystem
const(char)* ssh_message_channel_request_subsystem(ssh_message msg)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
ssh_message_channel_request_x11_auth_cookie
const(char)* ssh_message_channel_request_x11_auth_cookie(ssh_message msg)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
ssh_message_channel_request_x11_auth_protocol
const(char)* ssh_message_channel_request_x11_auth_protocol(ssh_message msg)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
ssh_message_channel_request_x11_screen_number
int ssh_message_channel_request_x11_screen_number(ssh_message msg)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
ssh_message_channel_request_x11_single_connection
int ssh_message_channel_request_x11_single_connection(ssh_message msg)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
ssh_message_global_request_address
const(char)* ssh_message_global_request_address(ssh_message msg)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
ssh_message_global_request_port
int ssh_message_global_request_port(ssh_message msg)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
ssh_message_global_request_reply_success
int ssh_message_global_request_reply_success(ssh_message msg, ushort bound_port)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
ssh_message_reply_default
int ssh_message_reply_default(ssh_message msg)

@brief Reply with a standard reject message.

ssh_message_service_reply_success
int ssh_message_service_reply_success(ssh_message msg)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
ssh_message_service_service
const(char)* ssh_message_service_service(ssh_message msg)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
ssh_send_keepalive
int ssh_send_keepalive(ssh_session session)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
ssh_set_auth_methods
void ssh_set_auth_methods(ssh_session session, int auth_methods)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
ssh_set_message_callback
void ssh_set_message_callback(ssh_session session, ssh_bind_message_callback_type ssh_bind_message_callback, void* data)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Structs

ssh_bind_callbacks_struct
struct ssh_bind_callbacks_struct

@brief These are the callbacks exported by the ssh_bind structure.

ssh_bind_struct
struct ssh_bind_struct
Undocumented in source.

Meta