libssh2_session_hostkey man page on Archlinux

Man page or keyword search:  
man Server   11224 pages
apropos Keyword Search (all sections)
Output format
Archlinux logo
[printable version]

libssh2_session_hostkey(3)	libssh2 manual	    libssh2_session_hostkey(3)

NAME
       libssh2_session_hostkey - get the remote key

SYNOPSIS
       #include <libssh2.h>

       const char *libssh2_session_hostkey(LIBSSH2_SESSION *session,
					   size_t *len, int *type);

DESCRIPTION
       Returns a pointer to the current host key, the value len points to will
       get the length of the key.

       The value type points to the type of hostkey  which  is	one  of:  LIB‐
       SSH2_HOSTKEY_TYPE_RSA,	   LIBSSH2_HOSTKEY_TYPE_DSS,	  or	  LIB‐
       SSH2_HOSTKEY_TYPE_UNKNOWN.

RETURN VALUE
       A pointer, or NULL if something went wrong.

SEE ALSO
       libssh2_knownhost_check(3) libssh2_knownhost_add(3)

libssh2 0.15			  1 Jun 2007	    libssh2_session_hostkey(3)
[top]

List of man pages available for Archlinux

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net