1
0
Fork 0
mirror of https://gitlab.redox-os.org/CoffeeCode/redox-ssh.git synced 2025-12-29 02:02:18 +01:00
redox-ssh/src/bin/sshd.rs
Thomas Gatzweiler 587f810172 Initial commit
2017-07-12 22:39:08 +02:00

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();
}