7#ifndef ZEPHYR_INCLUDE_NET_SSH_CLIENT_H_
8#define ZEPHYR_INCLUDE_NET_SSH_CLIENT_H_
34struct ssh_client *ssh_client_instance(
int instance);
51 const char *user_name,
int ssh_client_start(struct ssh_client *ssh, const char *user_name, const struct net_sockaddr *addr, int host_key_index, ssh_transport_event_callback_t callback, void *user_data)
Start an SSH client connection.
int ssh_client_stop(struct ssh_client *ssh)
Stop an SSH client connection.
int ssh_client_register_transport_callback(struct ssh_transport_conf *conf)
Register a callback function for getting the transport associated with a server connection.
int ssh_client_unregister_transport_callback(struct ssh_transport_conf *conf)
Unregister a callback function for getting the transport associated with a server connection.
struct ssh_client * ssh_transport_get_client(struct ssh_transport *transport)
Get the SSH client instance that owns a given transport.
int(* ssh_transport_event_callback_t)(struct ssh_transport *transport, const struct ssh_transport_event *event, void *user_data)
SSH transport event callback.
Definition common.h:187
SSH client/server common API.
BSD Sockets compatible API definitions.
Generic sockaddr struct.
Definition net_ip.h:455
SSH transport callback configuration.
Definition common.h:192