parseOpenSshConfig
function parseOpenSshConfig(text: string): OpenSshConfigEntry[];Defined in: src/profiles/importers/OpenSshConfigImporter.ts:29
Parses OpenSSH ssh_config text into structured Host blocks.
The parser is intentionally permissive: unknown directives are retained and Match blocks are skipped.
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
text | string | Contents of the ssh_config file. |
Returns
Section titled “Returns”Parsed Host entries in source order.