Skip to content

KnownHostsEntry

Defined in: src/profiles/importers/KnownHostsParser.ts:13

Parsed entry from an OpenSSH known_hosts file.

PropertyTypeDescriptionDefined in
comment?stringTrailing comment text, if any.src/profiles/importers/KnownHostsParser.ts:27
hashedHash?stringHashed-hash component for `1
hashedSalt?stringHashed-salt component for `1
hostPatternsreadonly string[]Raw, comma-separated host patterns. Negation patterns retain their leading !.src/profiles/importers/KnownHostsParser.ts:17
keyBase64stringBase64-encoded public key blob.src/profiles/importers/KnownHostsParser.ts:25
keyTypestringSSH key algorithm identifier (e.g. ssh-ed25519, ecdsa-sha2-nistp256).src/profiles/importers/KnownHostsParser.ts:23
marker?KnownHostsMarkerOptional line marker (@cert-authority or @revoked).src/profiles/importers/KnownHostsParser.ts:15
rawstringOriginal line text without trailing newline.src/profiles/importers/KnownHostsParser.ts:29