Once the session has been setup and libssh2_session_handshake has completed successfully, this function can be used to get the server id from the banner each server presents.
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 libssh2 when libssh2_session_free is used.
libssh2_session_banner_set(3), libssh2_session_handshake(3), libssh2_session_free
This HTML page was made with roffit.