1 unstable release

Uses old Rust 2015

0.1.0 Mar 4, 2024

#4 in #libssh2

Download history 89/week @ 2024-02-27 50/week @ 2024-03-05 4/week @ 2024-03-12 2/week @ 2024-03-19 53/week @ 2024-03-26 16/week @ 2024-04-02

71 downloads per month
Used in 3 crates (2 directly)

Apache-2.0

2MB
42K SLoC

C 38K SLoC // 0.1% comments M4 1.5K SLoC // 0.2% comments Rust 1K SLoC // 0.0% comments Perl 845 SLoC // 0.1% comments Shell 520 SLoC // 0.2% comments Automake 354 SLoC // 0.1% comments Bitbake 129 SLoC // 0.1% comments C++ 119 SLoC // 0.1% comments Emacs Lisp 33 SLoC // 0.3% comments AWK 23 SLoC PowerShell 13 SLoC // 0.3% comments

Contains (obscure autoconf code, 12KB) libssh2/configure.ac

ssh2-rs

Build Status Build Status Build Status

Documentation

Rust bindings to libssh2, an ssh client library.

Usage

# Cargo.toml
[dependencies]
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

License

This project is licensed under either of

at your option.

Contribution

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.

Dependencies

~5MB
~79K SLoC