/ src / core / ssh / __init__.py
__init__.py
 1  """
 2  SSH tool infrastructure for Ag3ntum.
 3  
 4  Provides secure SSH connectivity with:
 5  - SSH-specific command filtering (privilege tiers P0-P3)
 6  - Persistent connection pool with keepalive and transparent reconnection
 7  - Credential vault integration (agent never sees raw keys)
 8  - Configuration management (profiles, security settings)
 9  """
10  from .ssh_config import (
11      ALWAYS_BLOCKED_HOSTS,
12      SSHProfile,
13      SSHSecurityConfig,
14      SSHConnectionLimits,
15      SSHHostKeyVerificationConfig,
16      get_default_ssh_security_config,
17  )
18  from .ssh_command_filter import SSHCommandFilter, SSHFilterResult
19  from .ssh_connection_pool import (
20      SSHConnectionPool,
21      SSHConnectionEntry,
22      SSHCommandResult,
23      SSHConnectionLimitError,
24  )
25  from .ssh_credential_vault import SSHCredentialVault
26  from .ssh_host_key_resolver import SSHHostKeyResolver, HOST_KEY_SECRET_TYPE
27  from .ssh_host_key_scanner import scan_host_key
28  
29  __all__ = [
30      "SSHProfile",
31      "SSHSecurityConfig",
32      "SSHConnectionLimits",
33      "SSHHostKeyVerificationConfig",
34      "ALWAYS_BLOCKED_HOSTS",
35      "get_default_ssh_security_config",
36      "SSHCommandFilter",
37      "SSHFilterResult",
38      "SSHConnectionPool",
39      "SSHConnectionEntry",
40      "SSHCommandResult",
41      "SSHConnectionLimitError",
42      "SSHCredentialVault",
43      "SSHHostKeyResolver",
44      "HOST_KEY_SECRET_TYPE",
45      "scan_host_key",
46  ]