Skip to main content

Module ssh_args

Module ssh_args 

Source
Expand description

Shared SSH argument helpers.

These routines capture the CLI semantics we need in multiple places: identifying passthrough-only invocations and extracting the destination host for logging or vault lookups.

Functionsยง

extract_destination_host
Returns the target host from a forwarded SSH invocation, if present.
is_non_interactive_ssh_invocation
Returns true when the forwarded SSH arguments should bypass the normal interactive output pipeline.