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

#419 in Network programming

Download history 81647/week @ 2023-12-17 60644/week @ 2023-12-24 79975/week @ 2023-12-31 93120/week @ 2024-01-07 96346/week @ 2024-01-14 93202/week @ 2024-01-21 111046/week @ 2024-01-28 105559/week @ 2024-02-04 108075/week @ 2024-02-11 98347/week @ 2024-02-18 104925/week @ 2024-02-25 109537/week @ 2024-03-03 104085/week @ 2024-03-10 109030/week @ 2024-03-17 104555/week @ 2024-03-24 102022/week @ 2024-03-31

429,698 downloads per month
Used in 119 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

~5MB
~79K SLoC