libssh

C library for SSH protocol client and server implementations

brewmacoslinux
Try with needOr install directly
Source

About

C library SSHv1/SSHv2 client and server protocols

Commands

libssh

Examples

Link libssh library in C program compilation$ gcc -o ssh_client ssh_client.c -lssh
Check libssh version and installation$ pkg-config --modversion libssh
Get compiler flags for libssh integration$ pkg-config --cflags --libs libssh