libssh2_agent_set_identity_path(3)

πŸ“¦
version 1.11.1 Β· 3 versions
, in alpine 3.22, alpine 3.23, alpine 3.24, arch rolling, debian trixie, epel 10, epel 9, fedora 43, fedora 44, opensuse-leap 16.0, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– libssh2_agent_set_identity_path(3) πŸ’–

okay bestie, welcome to the libssh2 manual, this one's a lil cutie from the libssh2 fam 🫢


✨ NAME ✨

libssh2_agent_set_identity_path β€” set an ssh-agent socket path on disk 🌸


✨ SYNOPSIS ✨

#include <libssh2.h>

void
libssh2_agent_set_identity_path(LIBSSH2_AGENT *agent, const char *path);

✨ DESCRIPTION ✨

so basically πŸ’… this one lets you hand your agent a custom agent identity socket path β€” like, you get to pick where the socket lives on disk, instead of just rolling with the default SSH_AUTH_SOCK env value. no cap, that's the whole vibe. πŸ¦‹


✨ RETURN VALUE ✨

Returns void β€” literally nothing comes back, it just does the thing and dips. ✨


✨ AVAILABILITY ✨

Added in libssh2 1.9 πŸŽ€ so if you're on something older, sorry bestie, it's not there yet 😭


✨ SEE ALSO ✨


and that's the whole page, main character energy from start to finish πŸ‘‘ this was libssh2 (the manual name, in case you were wondering πŸ’œ), dated 6 Mar 2019 β€” slay, bye bestie! πŸŒˆπŸ’–