libnetconf2  4.7.5
NETCONF server and client library in C.
server_config_ssh.h File Reference
#include <stdarg.h>
#include <stdint.h>
#include <libyang/libyang.h>
#include "session.h"
Include dependency graph for server_config_ssh.h:

Go to the source code of this file.

Functions

int nc_server_config_add_ch_ssh_hostkey (const struct ly_ctx *ctx, const char *client_name, const char *endpt_name, const char *hostkey_name, const char *privkey_path, const char *pubkey_path, struct lyd_node **config)
 Creates new YANG data nodes for a Call Home SSH hostkey. More...
 
int nc_server_config_add_ch_ssh_keystore_ref (const struct ly_ctx *ctx, const char *client_name, const char *endpt_name, const char *hostkey_name, const char *keystore_reference, struct lyd_node **config)
 Creates new YANG data nodes for a reference to an asymmetric key located in the keystore. More...
 
int nc_server_config_add_ch_ssh_truststore_ref (const struct ly_ctx *ctx, const char *client_name, const char *endpt_name, const char *user_name, const char *truststore_reference, struct lyd_node **config)
 Creates new YANG data nodes for a reference to a public key bag located in the truststore. More...
 
int nc_server_config_add_ch_ssh_user_authkey (const struct ly_ctx *ctx, const char *client_name, const char *endpt_name, const char *user_name, struct lyd_node **config)
 Creates new YANG configuration data nodes for a Call Home SSH user that will use system's authorized_keys to authenticate. More...
 
int nc_server_config_add_ch_ssh_user_interactive (const struct ly_ctx *ctx, const char *client_name, const char *endpt_name, const char *user_name, struct lyd_node **config)
 Creates new YANG configuration data nodes for a Call Home SSH user's keyboard interactive authentication method. More...
 
int nc_server_config_add_ch_ssh_user_password (const struct ly_ctx *ctx, const char *client_name, const char *endpt_name, const char *user_name, const char *password, struct lyd_node **config)
 Creates new YANG data nodes for a Call Home SSH user's password authentication method. More...
 
int nc_server_config_add_ch_ssh_user_pubkey (const struct ly_ctx *ctx, const char *client_name, const char *endpt_name, const char *user_name, const char *pubkey_name, const char *pubkey_path, struct lyd_node **config)
 Creates new YANG data nodes for a Call Home SSH user's public key authentication method. More...
 
int nc_server_config_add_ssh_endpoint_client_ref (const struct ly_ctx *ctx, const char *endpt_name, const char *referenced_endpt, struct lyd_node **config)
 Creates new YANG configuration data nodes, which will be a reference to another SSH endpoint's users. More...
 
int nc_server_config_add_ssh_hostkey (const struct ly_ctx *ctx, const char *endpt_name, const char *hostkey_name, const char *privkey_path, const char *pubkey_path, struct lyd_node **config)
 Creates new YANG configuration data nodes for a hostkey. More...
 
int nc_server_config_add_ssh_keystore_ref (const struct ly_ctx *ctx, const char *endpt_name, const char *hostkey_name, const char *keystore_reference, struct lyd_node **config)
 Creates new YANG data nodes for a reference to an asymmetric key located in the keystore. More...
 
int nc_server_config_add_ssh_truststore_ref (const struct ly_ctx *ctx, const char *endpt_name, const char *user_name, const char *truststore_reference, struct lyd_node **config)
 Creates new YANG data nodes for a reference to a public key bag located in the truststore. More...
 
int nc_server_config_add_ssh_user_authkey (const struct ly_ctx *ctx, const char *endpt_name, const char *user_name, struct lyd_node **config)
 Creates new YANG configuration data nodes for an SSH user that will use system's authorized_keys to authenticate. More...
 
int nc_server_config_add_ssh_user_interactive (const struct ly_ctx *ctx, const char *endpt_name, const char *user_name, struct lyd_node **config)
 Creates new YANG configuration data nodes for an SSH user's keyboard interactive authentication method. More...
 
int nc_server_config_add_ssh_user_password (const struct ly_ctx *ctx, const char *endpt_name, const char *user_name, const char *password, struct lyd_node **config)
 Creates new YANG configuration data nodes for an SSH user's password authentication method. More...
 
int nc_server_config_add_ssh_user_pubkey (const struct ly_ctx *ctx, const char *endpt_name, const char *user_name, const char *pubkey_name, const char *pubkey_path, struct lyd_node **config)
 Creates new YANG configuration data nodes for an SSH user's public key authentication method. More...
 
int nc_server_config_ch_del_ssh_user_authkey (const char *client_name, const char *endpt_name, const char *user_name, struct lyd_node **config)
 Deletes a Call Home SSH user's authorized_keys method from the YANG data. More...
 
int nc_server_config_del_ch_ssh_hostkey (const char *client_name, const char *endpt_name, const char *hostkey_name, struct lyd_node **config)
 Deletes a Call Home hostkey from the YANG data. More...
 
int nc_server_config_del_ch_ssh_keystore_ref (const char *client_name, const char *endpt_name, const char *hostkey_name, struct lyd_node **config)
 Deletes a Call Home keystore reference from the YANG data. More...
 
int nc_server_config_del_ch_ssh_truststore_ref (const char *client_name, const char *endpt_name, const char *user_name, struct lyd_node **config)
 Deletes a Call Home SSH truststore reference from the YANG data. More...
 
int nc_server_config_del_ch_ssh_user (const char *client_name, const char *endpt_name, const char *user_name, struct lyd_node **config)
 Deletes a Call Home SSH user from the YANG data. More...
 
int nc_server_config_del_ch_ssh_user_interactive (const char *client_name, const char *endpt_name, const char *user_name, struct lyd_node **config)
 Deletes a Call Home SSH user's keyboard interactive authentication from the YANG data. More...
 
int nc_server_config_del_ch_ssh_user_password (const char *client_name, const char *endpt_name, const char *user_name, struct lyd_node **config)
 Deletes a Call Home SSH user's password from the YANG data. More...
 
int nc_server_config_del_ch_ssh_user_pubkey (const char *client_name, const char *endpt_name, const char *user_name, const char *pubkey_name, struct lyd_node **config)
 Deletes a Call Home SSH user's public key from the YANG data. More...
 
int nc_server_config_del_ssh_endpoint_client_ref (const char *endpt_name, struct lyd_node **config)
 Deletes reference to another SSH endpoint's users from the YANG data. More...
 
int nc_server_config_del_ssh_hostkey (const struct ly_ctx *ctx, const char *endpt_name, const char *hostkey_name, struct lyd_node **config)
 Deletes a hostkey from the YANG data. More...
 
int nc_server_config_del_ssh_keystore_ref (const char *endpt_name, const char *hostkey_name, struct lyd_node **config)
 Deletes a keystore reference from the YANG data. More...
 
int nc_server_config_del_ssh_truststore_ref (const char *endpt_name, const char *user_name, struct lyd_node **config)
 Deletes a truststore reference from the YANG data. More...
 
int nc_server_config_del_ssh_user (const char *endpt_name, const char *user_name, struct lyd_node **config)
 Deletes an SSH user from the YANG data. More...
 
int nc_server_config_del_ssh_user_authkey (const char *endpt_name, const char *user_name, struct lyd_node **config)
 Deletes an SSH user's authorized_keys method from the YANG data. More...
 
int nc_server_config_del_ssh_user_interactive (const char *endpt_name, const char *user_name, struct lyd_node **config)
 Deletes an SSH user's keyboard interactive authentication from the YANG data. More...
 
int nc_server_config_del_ssh_user_password (const char *endpt_name, const char *user_name, struct lyd_node **config)
 Deletes an SSH user's password from the YANG data. More...
 
int nc_server_config_del_ssh_user_pubkey (const char *endpt_name, const char *user_name, const char *pubkey_name, struct lyd_node **config)
 Deletes an SSH user's public key from the YANG data. More...