ssh2 0.9.4

Bindings to libssh2 for interacting with SSH servers and executing remote commands, forwarding local ports, etc.


Build Status Build Status Build Status


Rust bindings to libssh2, an ssh client library.


# Cargo.toml
ssh2 = "0.9"

Building on OSX 10.10+

This library depends on OpenSSL. To get OpenSSL working follow the openssl crate's instructions.

Starting with version 0.4 of ssh2, you can enable the vendored-openssl feature to have libssh2 built against a statically built version of openssl as described here


This project is licensed under either of

at your option.


Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this project by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.