40 #ifndef LIBNETCONF_SSH_H_
41 #define LIBNETCONF_SSH_H_
84 #ifndef DISABLE_LIBSSH
111 struct nc_session *
nc_session_connect_libssh_sess(
const char *host,
unsigned short port,
const char *username,
const struct nc_cpblts* cpblts, ssh_session ssh_sess);
struct nc_session * nc_session_accept_libssh_channel(const struct nc_cpblts *capabilities, const char *username, ssh_channel ssh_chan)
Functions implementing transport layer for NETCONF.
struct nc_session * nc_session_connect_libssh_sess(const char *host, unsigned short port, const char *username, const struct nc_cpblts *cpblts, ssh_session ssh_sess)
Create NETCONF session to the specified server using a custom SSH session.
Definition: libnetconf_ssh.h:58
NC_SSH_AUTH_TYPE
Available SSH authentication mechanisms.
Definition: libnetconf_ssh.h:55
void nc_ssh_pref(NC_SSH_AUTH_TYPE type, short int preference)
Set the preference of the SSH authentication methods.
Definition: libnetconf_ssh.h:57
Functions to set libssh's callbacks.
Functions to connect NETCONF server to a NETCONF client (Call Home).
Definition: libnetconf_ssh.h:59