libssh2_userauth_authenticated(3)

libssh2_userauth_authenticated3

Return authentication status

Usage

#include <libssh2.h>
int
libssh2_userauth_authenticated(LIBSSH2_SESSION *session);

Overview

session - Session instance as returned by libssh2_session_init_ex(3)

Indicates whether or not the named session has been successfully authenticated.

Return value

Returns 1 if authenticated and 0 if not.

Releases

10 releases since Debian 5.0 (Lenny); the text changed 3 times.

  1. 5.0
  2. 6.0
  3. 7–12
  4. 13–Arch

From libssh2 1.11.1-7 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.