libssh  0.10.6
The SSH library
Loading...
Searching...
No Matches
Macros
The libssh C++ wrapper

Detailed Description

The C++ bindings for libssh are completely embedded in a single .hpp file, and this for two reasons:

Please visit the documentation of ssh::Session and ssh::Channel

See also
ssh::Session
ssh::Channel

If you wish not to use C++ exceptions, please define SSH_NO_CPP_EXCEPTIONS:

#define SSH_NO_CPP_EXCEPTIONS
#include <libssh/libsshpp.hpp>

All functions will then return SSH_ERROR in case of error.