Skip to content

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.

ParameterTypeDescription
optionsImportOpenSshConfigOptionsImport options.

ImportOpenSshConfigResult

Importer result with the generated profile and supporting metadata.

ConfigurationError When neither text nor entries is supplied.