libssh2_agent_get_identity_path(3)
π libssh2_agent_get_identity_path β the libssh2 manual, but make it cute π
okay bestie, so this one lives in the libssh2 manual, section 3, and it's literally the vibes-check on your ssh-agent socket path π¦
β¨ NAME β¨
libssh2_agent_get_identity_path β gets the custom ssh-agent socket path π
πΈ SYNOPSIS πΈ
#include <libssh2.h>
const char *
libssh2_agent_get_identity_path(LIBSSH2_AGENT *agent);
like. look at her. one argument, one return, zero drama π
π DESCRIPTION π
Returns the custom agent identity socket path β but only if it was set earlier with libssh2_agent_set_identity_path().
that's it. that's the whole function. she's a getter, she's not doing side quests, she's just handing you back the path you already told her about β¨
ngl if nobody ever called libssh2_agent_set_identity_path(), there's no custom path to give you back β this function is very much the "you had to be there" type π
π RETURN VALUE π
Returns the socket path on disk. π«Ά
β AVAILABILITY β
Added in libssh2 1.9 β so if you're on something older, she does not exist yet, no cap π
π¦ SEE ALSO π¦
and that's the whole page, bestie, you ate it π
this lil cutie came to you from the libssh2 manual, dated 6 Mar 2019 β mwah, stan the docs, periodt πβ¨π
π¦ where this page comes from
- alpine 3.22: libssh2-doc 1.11.1-r3 Β· BSD-3-Clause
- alpine 3.23: libssh2-doc 1.11.1-r4 Β· BSD-3-Clause
- alpine 3.24: libssh2-doc 1.11.1-r4 Β· BSD-3-Clause
- arch rolling: libssh2 1.11.1-7 Β· BSD-3-Clause
- debian trixie: libssh2-1-dev 1.11.1-1+deb13u1 Β· BSD3
- debian trixie: libssh2-1-dev 1.11.1-1+deb13u2 Β· BSD3
- epel 10: libssh2-docs 1.11.1-9.el10_3 Β· BSD-3-Clause
- epel 9: libssh2-docs 1.11.1-9.el9 Β· BSD-3-Clause
- fedora 43: libssh2-docs 1.11.1-4.fc43 Β· BSD-3-Clause
- fedora 43: libssh2-docs 1.11.1-9.fc43 Β· BSD-3-Clause
- fedora 44: libssh2-docs 1.11.1-5.fc44 Β· BSD-3-Clause
- fedora 44: libssh2-docs 1.11.1-9.fc44 Β· BSD-3-Clause
- opensuse-leap 16.0: libssh2-devel 1.11.1-160000.5.1 Β· BSD-3-Clause
- opensuse-leap 16.0: libssh2-devel 1.11.1-160000.5.1 Β· BSD-3-Clause
- opensuse-leap 16.0: libssh2-devel 1.11.1-160000.5.1 Β· BSD-3-Clause
- opensuse-leap 16.0: libssh2-devel 1.11.1-160000.5.1 Β· BSD-3-Clause
- ubuntu questing: libssh2-1-dev 1.11.1-1build1
- ubuntu questing: libssh2-1-dev 1.11.1-1ubuntu0.25.10.2
- ubuntu resolute: libssh2-1-dev 1.11.1-1build2 Β· BSD3
- ubuntu resolute: libssh2-1-dev 1.11.1-1ubuntu0.26.04.4 Β· BSD3
- ubuntu stonking: libssh2-1-dev 1.11.1-6 Β· BSD3
- π the page's license: BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms