Skip to main content

rash/
lib.rs

1//! rash — Rust Auto SSH.
2//!
3//! Starts an `ssh` session or tunnel, monitors it, and restarts it if it dies or
4//! stops passing traffic. A behaviour-compatible reimplementation of autossh(1)
5//! by Carson Harding.
6//!
7//! The library exists so the pieces that are pure — argument splitting, config
8//! resolution, the exit-status policy, the backoff curve — can be tested without
9//! spawning anything.
10
11pub mod backoff;
12pub mod cli;
13pub mod config;
14pub mod daemon;
15pub mod log;
16pub mod monitor;
17pub mod pidfile;
18pub mod settings;
19pub mod supervise;