libssh2
1.1、libssh2简介
是什么 ?:a client-side C library implementing the SSH2 protocol.
开发语言:C
官方主页:https://www.libssh2.org
源码仓库:https://github.com/libssh2/libssh2
1.2、通过包管理器安装libssh2
操作系统包管理器安装命令
Allvcpkg
vcpkg install libssh2
vcpkg install libssh2:x64-osx
vcpkg install libssh2:x64-linux
vcpkg install libssh2:x64-windows
macOSHomeBrewbrew install libssh2
GNU/LinuxHomeBrewbrew install libssh2
aptsudo apt-get install -y libssh2c
CentOSyumsudo yum install -y libssh2
dnfsudo dnf install -y libssh2
openSUSEzyppersudo zypper install -y libssh2
Alpine Linuxapksudo apk add libssh2

Arch Linux

ArcoLinux

Manjaro Linux

pacmansudo pacman -Syyu --noconfirm
sudo pacman -S    --noconfirm libssh2
Gentoo LinuxPortagesudo emerge libssh2
1.3、通过编译源码安装libssh2
1.4、libssh2中包含的头文件
1.5、libssh2中包含的库文件
  • libssh2.{a | so | dylib}