mirror of
https://gitlab.redox-os.org/CoffeeCode/redox-ssh.git
synced 2025-12-29 02:02:18 +01:00
10 lines
222 B
Rust
10 lines
222 B
Rust
extern crate ssh;
|
|
|
|
use std::env;
|
|
use ssh::{Server, ServerConfig};
|
|
|
|
pub fn main() {
|
|
let config = ServerConfig { host: String::from("0.0.0.0:22222") };
|
|
let server = Server::with_config(config);
|
|
server.start();
|
|
}
|