66 releases

Uses old Rust 2015

0.3.0 Jan 21, 2023
0.2.23 Oct 10, 2021
0.2.21 Feb 1, 2021
0.2.20 Nov 22, 2020
0.0.1 Nov 11, 2014

#494 in Network programming

Download history 122472/week @ 2024-08-16 132840/week @ 2024-08-23 127154/week @ 2024-08-30 137606/week @ 2024-09-06 118775/week @ 2024-09-13 134192/week @ 2024-09-20 140718/week @ 2024-09-27 133707/week @ 2024-10-04 142185/week @ 2024-10-11 152803/week @ 2024-10-18 143231/week @ 2024-10-25 134533/week @ 2024-11-01 149820/week @ 2024-11-08 170931/week @ 2024-11-15 135051/week @ 2024-11-22 114813/week @ 2024-11-29

593,402 downloads per month
Used in 153 crates (4 directly)

MIT/Apache

2MB
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–2MB
~45K SLoC