Rust Rewrite Index

libssh

tiny C SSH library (OpenSSL flavor)

Rust efforts

Research record · 2026-11-29

Disambiguated libssh from libssh2 and searched Rust ports, protocol libraries and bindings. russh is an independent Rust SSH client/server protocol library; the ssh crate wraps the C libssh. No direct source or C ABI port of libssh surfaced in the reviewed sources, and SSH protocol support does not imply API or feature parity.

Original source check. The packaged source scan found zero files with the .rs suffix. This covers the Debian 13 snapshot and excludes common vendor directories. Independent repositories are outside this count.

Rust alternative

russh

Independent Rust SSH2 client/server library, with its own API rather than libssh’s C API.

Evidence checked 2026-11-29

Project structure

The ssh library was designed to be used by programmers needing a working SSH implementation by the mean of a library. The complete control of the client is made by the programmer. With libssh, you can remotely execute programs, transfer files, use a secure and transparent tunnel for your remote programs. With its SFTP implementation, you can play with remote files easily.

Inside the source tree

Source files by extension in this snapshot · C (232), C++ (2), Python (1)

Selected components packaged from this source in Debian 13.

  • libssh-4 · tiny C SSH library (OpenSSL flavor)
  • libssh-dev · tiny C SSH library - Development files (OpenSSL flavor)
  • libssh-doc · tiny C SSH library - Documentation files