Shellmin::ConnectionManager
Manages a pool of SSH connections to remote hosts. Handles connection lifecycle, pooling, and stale connection cleanup.
Constants
DEFAULT_MAX_CONNECTIONS = 10
MAX_CONNECTION_AGE = 30.minutes
MAX_CONNECTION_USES = 100
Constructors
Instance methods
connect(host : String, user : String = "root", port : Int32 = 22, password : String | Nil = nil, key_path : String | Nil = nil) : SSHConnection
Sourceexecute_on(host : String, command : String, user : String = "root", port : Int32 = 22, password : String | Nil = nil, key_path : String | Nil = nil) : Tuple(String, String, Int32)
Sourcemax_connections
Sourceshutdown
Sourcestats
Source