17 releases

new 0.3.5 Feb 9, 2025
0.3.3 May 19, 2024
0.2.2 Oct 30, 2023
0.2.0 May 30, 2023
0.1.1 Nov 14, 2021

#573 in Network programming

Download history 912/week @ 2024-10-22 1038/week @ 2024-10-29 978/week @ 2024-11-05 959/week @ 2024-11-12 896/week @ 2024-11-19 1011/week @ 2024-11-26 1047/week @ 2024-12-03 822/week @ 2024-12-10 737/week @ 2024-12-17 716/week @ 2024-12-24 999/week @ 2024-12-31 674/week @ 2025-01-07 888/week @ 2025-01-14 894/week @ 2025-01-21 782/week @ 2025-01-28 1210/week @ 2025-02-04

3,901 downloads per month
Used in 4 crates (via wezterm-ssh)

MIT license

4MB
100K SLoC

C 94K SLoC // 0.1% comments Rust 5.5K SLoC // 0.0% comments Shell 292 SLoC // 0.2% comments C++ 42 SLoC // 0.4% comments JavaScript 19 SLoC // 0.2% comments Python 8 SLoC

libssh-rs

Build Status Build Status Build Status

Bindings to libssh.

Features

The vendored feature causes a static version of libssh to be compiled and linked into your program. If no system libssh is detected at build time, or that system library is too old, then the vendored libssh implementation will be used automatically. Note that the libssh-rs bindings make use of a couple of new interfaces that have not made it into a released version of libssh at the time of writing this note, so all users will be effectively running with vendored enabled until libssh releases version 0.9.7.

The vendored-openssl feature causes a vendored copy of openssl to be compiled and linked into your program.

On macOS and Windows systems, you most likely want to enable both vendored and vendored-openssl.

License

This crate is licensed under the MIT license, and is:

Copyright (c) 2021-Present Wez Furlong.

Dependencies

~0.7–2.1MB
~50K SLoC