importOpenSshConfig
function importOpenSshConfig(options: ImportOpenSshConfigOptions): ImportOpenSshConfigResult;Defined in: src/profiles/importers/OpenSshConfigImporter.ts:167
Builds a ConnectionProfile for the given SSH alias from ssh_config text or pre-parsed entries.
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
options | ImportOpenSshConfigOptions | Import options. |
Returns
Section titled “Returns”Importer result with the generated profile and supporting metadata.
Throws
Section titled “Throws”ConfigurationError When neither text nor entries is supplied.