diff --git a/tabby-electron/src/sshImporters.ts b/tabby-electron/src/sshImporters.ts index 0360fce6..8e55e7be 100644 --- a/tabby-electron/src/sshImporters.ts +++ b/tabby-electron/src/sshImporters.ts @@ -272,7 +272,7 @@ function convertToSSHProfiles (config: SSHConfig): PartialProfile[] if (!(host in myMap)) { // NOTE: SSHConfig.compute() lies about the return types const configuration: Record = config.compute(host) - if (configuration['HostName']) { + if (Object.keys(configuration).map(key => key.toLowerCase()).includes('hostname')) { myMap[host] = convertHostToSSHProfile(host, configuration) } }