Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
libssh2_session_banner_get(3)	     libssh2	   libssh2_session_banner_get(3)

NAME
     libssh2_session_banner_get - get the remote banner

SYNOPSIS
     #include <libssh2.h>

     const char *
     libssh2_session_banner_get(oLIBSSH2_SESSION *session);

DESCRIPTION
     Once  the	session has been setup and libssh2_session_handshake(3) has com-
     pleted successfully, this function can be used to get the	server	id  from
     the banner each server presents.

RETURN VALUE
     A pointer to a string or NULL if something failed. The data pointed to will
     be allocated and associated to the session handle and will be freed by lib-
     ssh2 when libssh2_session_free(3) is used.

AVAILABILITY
     Added in 1.4.0

SEE ALSO
     libssh2_session_banner_set(3),  libssh2_session_handshake(3),  libssh2_ses-
     sion_free(3)

libssh2 			   9 Sep 2011	   libssh2_session_banner_get(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=libssh2_session_banner_get&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>

home | help