GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
libssh2_trace(3) libssh2 manual libssh2_trace(3)

libssh2_trace - enable debug info from inside libssh2

#include <libssh2.h>

void libssh2_trace(LIBSSH2_SESSION *session, int bitmask);

This is a function present in the library that can be used to get debug info from within libssh2 when it is running. Helpful when trying to trace or debug behaviors. Note that this function has no effect unless libssh2 was built to support tracing! It is usually disabled in release builds.

bitmask can be set to the logical OR of none, one or more of these:

LIBSSH2_TRACE_SOCKET
Socket low-level debugging
LIBSSH2_TRACE_TRANS
Transport layer debugging
LIBSSH2_TRACE_KEX
Key exchange debugging
LIBSSH2_TRACE_AUTH
Authentication debugging
LIBSSH2_TRACE_CONN
Connection layer debugging
LIBSSH2_TRACE_SCP
SCP debugging
LIBSSH2_TRACE_SFTP
SFTP debugging
LIBSSH2_TRACE_ERROR
Error debugging
LIBSSH2_TRACE_PUBLICKEY
Public Key debugging
26 Dec 2008 libssh2 1.0

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.