#sftp #ssh2 #server #client #russh

russh-sftp

SFTP subsystem supported server and client for Russh

5 releases (stable)

2.0.0-beta.2 Sep 16, 2023
1.2.1 Apr 25, 2023
1.2.0 Dec 18, 2022
0.3.0 Dec 15, 2022
0.1.0 Dec 9, 2022

#449 in Filesystem

Download history 17/week @ 2023-06-13 22/week @ 2023-06-20 16/week @ 2023-06-27 14/week @ 2023-07-04 11/week @ 2023-07-11 11/week @ 2023-07-18 23/week @ 2023-07-25 22/week @ 2023-08-01 20/week @ 2023-08-08 44/week @ 2023-08-15 23/week @ 2023-08-22 26/week @ 2023-08-29 24/week @ 2023-09-05 128/week @ 2023-09-12 78/week @ 2023-09-19 43/week @ 2023-09-26

277 downloads per month
Used in russh

Apache-2.0

120KB
3K SLoC

Russh SFTP

SFTP subsystem supported server and client for Russh and more!

Crate can provide compatibility with anything that can provide the raw data stream in and out of the subsystem channel.
Implemented according to version 3 specifications (most popular).

The main idea of the project is to provide an implementation for interacting with the protocol at any level.

Examples

What's ready?

  • Basic packets
  • Extended packets
  • Simplification for file attributes
  • Client side
  • Client example
  • Server side
  • Simple server example
  • Extension support: limits@openssh.com, fsync@openssh.com
  • Full server example
  • Unit tests
  • Workflow

Some words

Thanks to @Eugeny (author of the Russh) for his prompt help and finalization of Russh API

Dependencies

~4–16MB
~162K SLoC