Command line arguments passed
Full set of command handler parameters from imperative
The session creating from the command line arguments / profile
Returns the console interface for the command handler
Returns the format interface for the command handler
Returns the format interface for the command handler
Returns the format interface for the command handler
Attaches an interactive host key verifier to the session so that, when the SSH server presents a host key that is not already trusted, the user is asked to confirm it before any credentials are sent (trust on first use). The accepted key is then persisted to the ssh profile so the user is not prompted again. In non-interactive / CI environments the key is never prompted for: verification stays on and the connection fails with an explanatory error instead of hanging.
the session to attach the verifier to
command parameters, used for prompting and persistence
Fail the command with an imperative error
the imperative error parameters
Persists an accepted host key into the active ssh team-config profile, so the user is not prompted again on subsequent connections. Best effort: if no team config exists, autoStore is disabled, or the ssh profile cannot be resolved, the key is simply not saved (the user will be prompted again).
command parameters, used to resolve the active ssh profile
the base64-encoded host key to store
This will grab the arguments and create a session before calling the subclass {@link SshBaseHandler#processWithSession} method.
Command parameters sent by imperative.
This is called by the {@link SshBaseHandler#process} after it creates a session.
Command parameters sent to the handler.
Generated using TypeDoc
This class is used by the various handlers in the project as the base class for their implementation.