Skip to content

ResolvedSshProfile

Defined in: src/profiles/resolveConnectionProfileSecrets.ts:10

SSH profile with private-key and known-host material resolved.

  • Omit<SshProfile, "knownHosts" | "passphrase" | "privateKey">
PropertyTypeDescriptionInherited fromDefined in
agent?SshAgentSourceSSH agent socket path or agent instance used for agent-based public-key authentication.SshProfile.agentsrc/types/public.ts:207
algorithms?SshAlgorithmsExplicit SSH transport algorithm overrides for ciphers, KEX, host keys, MACs, and compression.SshProfile.algorithmssrc/types/public.ts:209
keyboardInteractive?SshKeyboardInteractiveHandlerRuntime callback that answers SSH keyboard-interactive authentication prompts.SshProfile.keyboardInteractivesrc/types/public.ts:235
knownHosts?| SecretValue | SecretValue[]Resolved OpenSSH known_hosts material.-src/profiles/resolveConnectionProfileSecrets.ts:19
passphrase?SecretValueResolved private-key passphrase.-src/profiles/resolveConnectionProfileSecrets.ts:17
pinnedHostKeySha256?string | readonly string[]Optional. SSH host-key SHA-256 fingerprint(s) the remote must present, in OpenSSH SHA256:<base64> form, raw base64, or hex. Use this as a lighter-weight alternative to a full known_hosts file when you only need to pin a single host. Like knownHosts, it is optional but recommended for production; leaving both unset disables host-key verification entirely. Example "SHA256:abc123basesixfourpinFromKnownHosts="SshProfile.pinnedHostKeySha256src/types/public.ts:233
privateKey?SecretValueResolved private key material.-src/profiles/resolveConnectionProfileSecrets.ts:15
socketFactory?SshSocketFactoryRuntime callback that returns a preconnected stream used instead of opening a direct TCP socket.SshProfile.socketFactorysrc/types/public.ts:237