⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.19
Server IP:
178.33.27.10
Server:
Linux cpanel.dev-unit.com 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64
Server Software:
Apache/2.4.57 (Unix) OpenSSL/1.0.2k-fips
PHP Version:
8.2.11
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
local
/
share
/
man
/
man3
/
View File Name :
libssh2_session_handshake.3
.TH libssh2_session_handshake 3 "7 Oct 2010" "libssh2 1.2.8" "libssh2 manual" .SH NAME libssh2_session_handshake - perform the SSH handshake .SH SYNOPSIS #include <libssh2.h> int libssh2_session_handshake(LIBSSH2_SESSION *session, libssh2_socket_t socket); .SH DESCRIPTION \fIsession\fP - Session instance as returned by .BR libssh2_session_init_ex(3) \fIsocket\fP - Connected socket descriptor. Typically a TCP connection though the protocol allows for any reliable transport and the library will attempt to use any berkeley socket. Begin transport layer protocol negotiation with the connected host. .SH RETURN VALUE Returns 0 on success, negative on failure. .SH ERRORS \fILIBSSH2_ERROR_SOCKET_NONE\fP - The socket is invalid. \fILIBSSH2_ERROR_BANNER_SEND\fP - Unable to send banner to remote host. \fILIBSSH2_ERROR_KEX_FAILURE\fP - >Encryption key exchange with the remote host failed. \fILIBSSH2_ERROR_SOCKET_SEND\fP - Unable to send data on socket. \fILIBSSH2_ERROR_SOCKET_DISCONNECT\fP - The socket was disconnected. \fILIBSSH2_ERROR_PROTO\fP - An invalid SSH protocol response was received on the socket. \fILIBSSH2_ERROR_EAGAIN\fP - Marked for non-blocking I/O but the call would block. .SH AVAILABILITY Added in 1.2.8 .SH SEE ALSO .BR libssh2_session_free(3) .BR libssh2_session_init_ex(3)