ssh2-rs
Rust bindings to libssh2
Usage
Ensure that zlib
is installed (Debian: sudo apt-get install zlib1g-dev
, OSX: brew install zlib-devel
,
Windows)
# Cargo.toml
[dependencies]
ssh2 = "0.3"
Building on OSX 10.10+
Currently libssh2 requires linking against OpenSSL, and to compile libssh2 it also needs to find the OpenSSL headers. On OSX 10.10+ the OpenSSL headers have been removed, but if you're using Homebrew you can install them via:
brew install openssl
This crate also needs to have cmake
installed:
brew install cmake