libssh2_userauth_authenticated(3)
π libssh2_userauth_authenticated β it's giving auth status check π
okay so bestie, welcome to the libssh2 manual, this one's about libssh2_userauth_authenticated(3) and it's literally the shortest lil vibe check in the whole library. let's go π«Ά
β¨ NAME β¨
libssh2_userauth_authenticated β return authentication status π
β¨ SYNOPSIS β¨
#include <libssh2.h>
int
libssh2_userauth_authenticated(LIBSSH2_SESSION *session);
β¨ DESCRIPTION β¨
so here's the tea π:
sessionβ a Session instance, and like, the exact kind you get back fromlibssh2_session_init_ex(3). no knockoffs, no substitutes, get it from the source bestie.
and what does this function do? it tells you whether or not the named session has been successfully authenticated. that's it. that's the whole thing. one lil question, one lil answer, no drama, no cap. π
β¨ RETURN VALUE β¨
- returns
1if it is authenticated β - returns
0if it is not β
literally binary. main character energy only, no in-between. π
β¨ SEE ALSO β¨
libssh2_session_init_ex(3)β go get that session first, iykyk πΈ
π friendly reminder: this page islibssh2version0.15, dated1 Jun 2007, and it's page1of the manual β so yeah, this one's been slaying since way before your fave was born. periodt. π
stay authenticated bestie, mwah πβ¨
π¦ 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