Skip to main content

Module connection

Module connection 

Source
Expand description

SSH connection configuration (auth + timeout + TOFU paths).

§Auth policy (G-SSH-15)

  • Public key file (key_path) is preferred when present.
  • ssh-agent when use_agent is true (socket from CLI/XDG — never env-as-store).
  • Password is an opt-in fallback: a non-empty password SecretString in the XDG inventory (or CLI override) enables password auth after key/agent failure. An empty password does not enable password auth.

Structs§

ConnectionConfig
SSH connection configuration.