Russh – low-level Tokio SSH2 client and server implementation

Russh is a low-level SSH2 library written in Rust and built on Tokio. It provides asynchronous building blocks for developers who need to embed SSH client or server functionality into their own software, and the repository includes example implementations for simple clients, interactive PTY sessions, servers, and SFTP workflows.

This is free and open source software.

Key Features

  • Provides low-level asynchronous SSH2 client and server implementations for Rust applications.
  • Supports local and remote port forwarding, along with local and remote UNIX socket forwarding.
  • Offers multiple authentication methods including password, public key, keyboard-interactive, none, and OpenSSH certificates.
  • Includes broad protocol support for ciphers, key exchanges, MACs, and host key algorithms.
  • Adds OpenSSH-oriented capabilities such as keepalive request handling, agent forwarding channels, and the server-sig-algs extension.
  • Supports PPK key format and Pageant integration.
  • Provides AsyncRead and AsyncWrite compatible channels for integration with Tokio-based code.

Website: github.com/Eugeny/russh
Support:
Developer: Eugeny
License: Apache License 2.0

Russh is written in Rust. Learn Rust with our recommended free books and free tutorials.


Related Software

SSH Servers
OpenSSHRemote login with the SSH protocol
TeleportProvides connectivity, authentication, access controls and audit for infrastructure
ssh3Faster and rich secure shell using HTTP/3
TinySSHMinimalistic SSH server
DropbearLightweight SSH server
quicssh-rsSimple ssh server
ssh2incusSSH server for Incus instances
wolfSSHSmall, fast, portable SSH implementation

Read our verdict in the software roundup.


Best Free and Open Source Software Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.

This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk.

You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more.

Discovered a useful open source Linux program that we haven’t covered yet? Let us know by completing this form.
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted