Expand description
Cliente SSH real via russh 0.62.2.
One-shot connection: TCP + handshake + auth (password and/or key) + exec with
timeout, output truncation, and best-effort remote abort.
Host keys: TOFU em known_hosts XDG (ver super::known_hosts).
Structs§
- Client
Handler ssh-real - russh handler with TOFU known_hosts (or always-trust if path is absent).
- Connection
Config - SSH connection configuration.
- Execution
Output - Output of a remote SSH command execution.
- SshClient
ssh-real - Active SSH client with an authenticated session.
- Transfer
Result - Result of an SCP file transfer operation.
Traits§
- SshClient
Trait - SSH client trait allowing a real (russh) or mock implementation for tests.
- Tunnel
Channel - Stream bidirecional usado para tunnel SSH (direct-tcpip).
Functions§
- truncate_
utf8 - Truncates a UTF-8 string to at most
max_charscodepoints.