https://github.com/openssh-rust/openssh-sftp-client
sftp v3 client implemented using pure rust
https://github.com/openssh-rust/openssh-sftp-client
async rust sftp sftp-client tokio-rs
Last synced: 3 months ago
JSON representation
sftp v3 client implemented using pure rust
- Host: GitHub
- URL: https://github.com/openssh-rust/openssh-sftp-client
- Owner: openssh-rust
- License: mit
- Created: 2021-11-26T10:45:16.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2025-11-21T08:12:36.000Z (7 months ago)
- Last Synced: 2026-03-17T14:12:51.731Z (3 months ago)
- Topics: async, rust, sftp, sftp-client, tokio-rs
- Language: Rust
- Homepage:
- Size: 1.44 MB
- Stars: 61
- Watchers: 2
- Forks: 5
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# openssh-sftp-client
[](https://github.com/openssh-rust/openssh-sftp-client/actions/workflows/rust.yml)
[](https://crates.io/crates/openssh-sftp-client)
[](https://crates.io/crates/openssh-sftp-client)
[](https://docs.rs/openssh-sftp-client)
openssh-sftp-client, implements [sftp v3] according to
[`openssh-portable/sftp-client.c`] in rust using `tokio` and `serde`.
It exposes highlevel `async` APIs that models closely after `std::fs` that are
easy to use.
[sftp v3]: https://www.openssh.com/txt/draft-ietf-secsh-filexfer-02.txt
[`openssh-portable/sftp-client.c`]: https://github.com/openssh/openssh-portable/blob/19b3d846f06697c85957ab79a63454f57f8e22d6/sftp-client.c
## Extensions
This crate support the following extensions:
- limits
- expand path
- fsync
- hardlink
- posix rename
- copy-data
## How to run tests
For macOS, please install latest rsync from homebrew.
```
./run_tests.sh
```