evilsocket / russh

Rust SSH client & server library

Home Page:https://docs.rs/russh

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Russh

Rust All Contributors

Async (tokio) SSH2 client and server implementation.

This is a fork of Thrussh by Pierre-Étienne Meunier which adds:

✨ = added in this fork

  • More safety guarantees ✨
  • forward-tcpip (remote port forwarding) ✨
  • Ciphers:
    • chacha20-poly1305@openssh.com
    • aes256-gcm@openssh.com
    • aes256-ctr
    • aes192-ctr
    • aes128-ctr
  • Key exchanges:
    • curve25519-sha256@libssh.org
    • diffie-hellman-group1-sha1
    • diffie-hellman-group14-sha1
    • diffie-hellman-group14-sha256
  • MACs:
    • hmac-sha1
    • hmac-sha2-256
    • hmac-sha2-512
    • hmac-sha1-etm@openssh.com
    • hmac-sha2-256-etm@openssh.com
    • hmac-sha2-512-etm@openssh.com
  • Host keys:
    • ssh-ed25519
    • rsa-sha2-256
    • rsa-sha2-512
    • ssh-rsa
  • Dependency updates
  • Handle openssh sshd keepalive channel requests ✨

Safety

  • deny(clippy::unwrap_used)
  • deny(clippy::expect_used)
  • deny(clippy::indexing_slicing)
  • deny(clippy::panic)
  • Exceptions are checked manually

Panics

  • When the Rust allocator fails to allocate memory during a CryptoVec being resized.

Unsafe code

  • cryptovec uses unsafe for faster copying, initialization and binding to native API.

Contributors ✨

Thanks goes to these wonderful people (emoji key):


Mihir Samdarshi

📖

Connor Peet

💻

KVZN

💻

Adrian Müller (DTT)

💻

This project follows the all-contributors specification. Contributions of any kind welcome!

About

Rust SSH client & server library

https://docs.rs/russh


Languages

Language:Rust 100.0%