https://github.com/navahas/ssh-server
Lightweight async SSH server built with Rust and russh.
https://github.com/navahas/ssh-server
rust server ssh ssh-server
Last synced: 11 months ago
JSON representation
Lightweight async SSH server built with Rust and russh.
- Host: GitHub
- URL: https://github.com/navahas/ssh-server
- Owner: navahas
- Created: 2025-06-17T14:07:30.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2025-06-17T16:27:09.000Z (about 1 year ago)
- Last Synced: 2025-06-17T17:38:43.517Z (about 1 year ago)
- Topics: rust, server, ssh, ssh-server
- Language: Rust
- Homepage:
- Size: 16.6 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SSH Server
This is a personal exploration project using
[`russh`](https://github.com/warp-tech/russh), a pure-Rust async SSH server
library. The server is minimal and supports:
- Basic public key authentication (all keys accepted)
- Session channels and simple data echoing
- TCP/IP forwarding (example response only)
## Running
Ensure Rust is installed (`rustup` recommended), then:
```bash
cargo run
```
This will start the SSH server on:
```0.0.0.0:2222```
This project uses `env_logger` for debug output. Set the log level via the
filter_level:
```rs
env_logger::builder()
.filter_level(log::LevelFilter::Debug)
.init();
```