1 unstable release

Uses old Rust 2015

0.3.0-p1 Oct 21, 2022

#7 in #libssh2

Download history 12/week @ 2024-03-29 4/week @ 2024-04-05

419 downloads per month
Used in ssh2-patched

MIT/Apache

1.5MB
40K SLoC

C 36K SLoC // 0.1% comments M4 1K SLoC // 0.2% comments Rust 1K SLoC // 0.0% comments Perl 676 SLoC // 0.1% comments Shell 486 SLoC // 0.2% comments Automake 445 SLoC // 0.1% comments C++ 119 SLoC // 0.1% comments Emacs Lisp 33 SLoC // 0.3% comments Bitbake 24 SLoC AWK 23 SLoC PowerShell 12 SLoC // 0.3% comments Batch 7 SLoC

Contains (obscure autoconf code, 13KB) 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

~1.1–1.9MB
~41K SLoC