use Duration;
/// The bastion's port when the `ssh` table sets none.
pub const SSH_PORT: u16 = 22;
/// Where Windows's OpenSSH agent service listens when `SSH_AUTH_SOCK` names no other pipe.
pub const OPENSSH_AGENT_PIPE: &str = r"\\.\pipe\openssh-ssh-agent";
/// How long to wait for the bastion to answer and sign the client in.
pub const CONNECT_TIMEOUT: Duration = from_secs;
/// How often an idle tunnel asks the bastion whether it is still there, so long reads and `load --follow` survive idle firewalls.
pub const KEEPALIVE_INTERVAL: Duration = from_secs;
/// Unanswered keepalives after which the tunnel counts as dropped.
pub const KEEPALIVE_MAX: usize = 3;
/// How long one SFTP request may wait for its answer: reads queue up to 16 requests of 256 KiB each, so the default 10 seconds fails on links slower than a few Mbit/s.
pub const SFTP_REQUEST_TIMEOUT: Duration = from_secs;