1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
//! SSH wrapper module for secure remote operations
//!
//! This module provides comprehensive SSH functionality for secure remote command
//! execution and connectivity management. It includes credential management,
//! connection configuration, and client implementation with proper error handling.
//!
//! ## Module Components
//!
//! - `client` - SSH client implementation for remote command execution
//! - `config` - SSH configuration and management
//! - `credentials` - SSH authentication credentials and key management
//! - `error` - SSH error types and implementations
//! - `key_inspector` - Best-effort detection of passphrase-protected private keys
//! - `public_key` - SSH public key representation and validation
//! - `service_checker` - SSH service availability testing without authentication
//!
//! ## Key Features
//!
//! - Private key authentication with configurable credentials
//! - Connection timeout and retry mechanisms
//! - Secure remote command execution with error handling
//! - SSH service availability checking for connectivity testing
//! - Integration with deployment automation workflows
//!
//! The SSH wrapper is designed for automated deployment scenarios where
//! secure remote access is essential for configuration and management tasks.
pub use SshClient;
pub use ;
pub use SshCredentials;
pub use SshError;
pub use is_passphrase_protected;
pub use SshPublicKey;
pub use SshServiceChecker;