Skip to main content

Module ssh

Module ssh 

Source
Expand description

SSH connection management module

This module provides persistent SSH connection handling with automatic reconnection, authentication, and session management.

Re-exports§

pub use command::CommandOutput;
pub use command::TransferRawOutput;
pub use command::wrap_command_with_timeout;
pub use config::HostKeyCheckMode;
pub use config::SshConfig;
pub use connection::SshConnectionManager;
pub use elevation::escape_for_shell;
pub use elevation::sanitize_password;
pub use elevation::wrap_sudo_command;
pub use handler::KeyCheckOutcome;
pub use handler::SshHandler;
pub use handler::default_known_hosts_path;
pub use handler::remove_known_hosts_entry;
pub use sanitize::escape_command_for_shell;
pub use sanitize::escape_for_timeout_wrapper;
pub use sanitize::sanitize_command;

Modules§

command
Command execution over SSH
config
SSH configuration types
connection
SSH Connection Manager
elevation
Privilege elevation utilities for SSH command execution
handler
SSH client handler implementation
sanitize
Command sanitization and escaping utilities