124 releases (32 breaking)

0.33.5 Jul 6, 2021
0.33.1 Jun 28, 2021
0.32.7 Feb 26, 2021
0.30.9 Dec 9, 2020
0.6.0 Jul 28, 2016

#113 in Network programming

Download history 912/week @ 2021-04-05 821/week @ 2021-04-12 845/week @ 2021-04-19 577/week @ 2021-04-26 643/week @ 2021-05-03 420/week @ 2021-05-10 885/week @ 2021-05-17 783/week @ 2021-05-24 605/week @ 2021-05-31 713/week @ 2021-06-07 642/week @ 2021-06-14 564/week @ 2021-06-21 844/week @ 2021-06-28 867/week @ 2021-07-05 741/week @ 2021-07-12 839/week @ 2021-07-19

2,997 downloads per month
Used in 8 crates (6 directly)

Apache-2.0

455KB
10K SLoC

Thrussh

A full implementation of the SSH 2 protocol, both server-side and client-side.

Thrussh is completely asynchronous, and can be combined with other protocols using Tokio.

Contributing

We welcome contributions. Currently, the main areas where we need help are:

  • Handling SSH keys correctly on all platforms. In particular, interactions with agents, PGP, and password-protected/encrypted keys are not yet implemented.

  • Auditing our code, and writing tests. The code is written so that the protocol can be entirely run inside vectors (instead of network sockets).

By contributing, you agree to license all your contributions under the Apache 2.0 license.

Moreover, the main platform for contributing is the Nest, which is still at an experimental stage. Therefore, even though we do our best to avoid it, our repository might be reset, causing the patches of all contributors to be merged.

Issue Reporting

Please report bugs on the issue page of this repository. Thrussh has a full disclosure vulnerability policy. Please do NOT attempt to report any security vulnerability in this code privately to anybody.

Dependencies

~13MB
~199K SLoC