libssh2_agent_get_identity_path(3) libssh2 libssh2_agent_get_identity_path(3)

libssh2_agent_get_identity_path - gets the custom ssh-agent socket path

#include <libssh2.h>
const char *
libssh2_agent_get_identity_path(LIBSSH2_AGENT *agent);

Returns the custom agent identity socket path if set using libssh2_agent_set_identity_path()

Returns the socket path on disk.

Added in libssh2 1.9

libssh2_agent_init(3) libssh2_agent_set_identity_path(3)

6 Mar 2019 libssh2