Expand description
SSH connection management for RIPE Atlas controller communication
This module provides:
- SSH tunnel management with automatic reconnection
- Registration protocol (INIT command)
- Keepalive handling (KEEP command)
- Reverse port forwarding for telnet interface
Structs§
- Controller
Info - Controller information returned from INIT
- Known
Hosts - Known SSH host keys for server verification (TOFU model)
- Probe
Init Info - Probe information sent during registration INIT
- SshConfig
- SSH connection configuration
- SshConnection
- SSH connection to RIPE Atlas controller
- Telnet
State - State needed for handling telnet connections directly in the SSH handler
Enums§
- Init
Response - INIT response variants
Functions§
- generate_
key - Generate a new SSH key pair
- key_
fingerprint - Compute the SHA256 fingerprint of a public key (e.g., “SHA256:abc123…”)
- load_
key - Load SSH key from file
- load_
key_ from_ string - Load SSH key pair from a PEM string (e.g. from an environment variable)
- save_
key - Save SSH key pair to files