libssh2

C library implementing the SSH2 protocol for secure connections

brewmacoslinux
Try with needOr install directly
Source

About

C library implementing the SSH2 protocol

Commands

libssh2

Examples

Link libssh2 in a C/C++ project by including headers and linking the library$ gcc -I/usr/local/opt/libssh2/include myprogram.c -L/usr/local/opt/libssh2/lib -lssh2 -o myprogram
Check libssh2 version and installation details$ pkg-config --modversion libssh2
Get compiler and linker flags for building with libssh2$ pkg-config --cflags --libs libssh2