This is deprecated, use Control_SysIO with a ssh-enabled SocketFactory instead. More...
Data Structures | |
| struct | ssh2_openssh_s |
| struct | ssh2_control_status_s |
Macros | |
| #define | OPENSSH_MIN_VERSION 5.4 |
Enumerations | |
| enum | ssh2_control_state_e { SSH2_CONTROL_STATE_INIT = 0 , SSH2_CONTROL_STATE_CONNECTED , SSH2_CONTROL_STATE_DISCONNECTED } |
Functions | |
| static void | ssh2_control_send_common (void *_status, padico_topo_node_t node, padico_control_msg_t msg) |
| static int | ssh2_control_bootstrap_connect (void *_status, const char *hostname, padico_topo_uuid_t uuid) |
| static void * | ssh2_control_instantiate (puk_instance_t, puk_context_t) |
| static void | ssh2_control_destroy (void *) |
Detailed Description
This is deprecated, use Control_SysIO with a ssh-enabled SocketFactory instead.
Macro Definition Documentation
◆ OPENSSH_MIN_VERSION
| #define OPENSSH_MIN_VERSION 5.4 |
Definition at line 61 of file control-ssh2.c.
Enumeration Type Documentation
◆ ssh2_control_state_e
| Enumerator | |
|---|---|
| SSH2_CONTROL_STATE_INIT | connection is initializing |
| SSH2_CONTROL_STATE_CONNECTED | connection is established |
| SSH2_CONTROL_STATE_DISCONNECTED | connection has been disconnected |
Definition at line 95 of file control-ssh2.c.
Function Documentation
◆ ssh2_control_bootstrap_connect()
|
static |
Definition at line 740 of file control-ssh2.c.
References ssh2_control_status_s::channel, ssh2_control_status_s::connection_event, done, host, i, ssh2_control_status_s::instance, ssh2_control_status_s::lock, n, nodes, NULL, ssh2_control_status_s::openssh, OPENSSH_MIN_VERSION, padico_control_plug_controler(), padico_topo_host_getaddr(), padico_topo_host_resolvebyname(), ssh2_openssh_s::pid, port, rc, ssh2_control_status_s::session, ssh2_control_bootstrap_auto_port(), ssh2_control_start(), SSH2_CONTROL_STATE_CONNECTED, SSH2_CONTROL_STATE_INIT, ssh2_libssh2_init_ssh_connection(), ssh2_openssh_init_ssh_connection(), ssh2_control_status_s::ssh_dest, ssh2_control_status_s::ssh_host, ssh2_control_status_s::ssh_user, ssh2_control_status_s::state, and ssh2_openssh_s::version.
◆ ssh2_control_destroy()
Definition at line 885 of file control-ssh2.c.
References ssh2_control_status_s::channel, done, padico_sysio_close(), ssh2_control_status_s::session, and ssh2_control_status_s::ssh_server_fd.
◆ ssh2_control_instantiate()
|
static |
Definition at line 856 of file control-ssh2.c.
References ssh2_control_status_s::connection_event, ssh2_control_status_s::context, done, ssh2_control_status_s::instance, ssh2_control_status_s::lock, NULL, ssh2_control_status_s::openssh, ssh2_control_status_s::peer, ssh2_openssh_s::pid, SSH2_CONTROL_STATE_INIT, ssh2_openssh_version(), ssh2_control_status_s::ssh_cipher, ssh2_control_status_s::ssh_dest, ssh2_control_status_s::ssh_host, ssh2_control_status_s::ssh_path, ssh2_control_status_s::ssh_user, and ssh2_openssh_s::version.
◆ ssh2_control_send_common()
|
static |
Definition at line 516 of file control-ssh2.c.
References assert(), ssh2_control_status_s::connection_event, done, i, ssh2_control_status_s::lock, node, padico_control_msg_get_iovec(), padico_control_msg_get_iovec_size(), padico_control_msg_get_size(), ssh2_control_status_s::peer, size, ssh2_control_connection_lost(), ssh2_control_outv(), SSH2_CONTROL_STATE_INIT, ssh2_control_status_s::ssh_server_fd, ssh2_control_status_s::state, and v.
Variable Documentation
◆ ssh2_bootstrap_driver
|
static |
Definition at line 77 of file control-ssh2.c.
Referenced by control_ssh2_init().
◆ ssh2_control_component_driver
|
static |
Definition at line 88 of file control-ssh2.c.
Referenced by control_ssh2_init().
◆ ssh2_control_driver
|
static |
Definition at line 67 of file control-ssh2.c.
Referenced by control_ssh2_init().