Skip to content

Commit f048b96

Browse files
authored
fix: SSH import issues - key paths, SSL/color case, useSSHConfig (#822)
* fix: resolve bare SSH key filenames to ~/.ssh/ paths in importers * fix: correct SSL mode and color raw value case to match enum definitions * fix: enable useSSHConfig for imported SSH connections
1 parent 328a772 commit f048b96

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

TablePro/Core/Services/Export/ForeignApp/DBeaverImporter.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ struct DBeaverImporter: ForeignAppImporter {
221221
username: username,
222222
authMethod: authMethod,
223223
privateKeyPath: authType == "PUBLIC_KEY" ? keyPath : "",
224-
useSSHConfig: false,
224+
useSSHConfig: true,
225225
agentSocketPath: "",
226226
jumpHosts: nil,
227227
totpMode: nil,

TablePro/Core/Services/Export/ForeignApp/SequelAceImporter.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ struct SequelAceImporter: ForeignAppImporter {
207207
username: user,
208208
authMethod: keyEnabled ? "Private Key" : "Password",
209209
privateKeyPath: keyEnabled ? keyPath : "",
210-
useSSHConfig: false,
210+
useSSHConfig: true,
211211
agentSocketPath: "",
212212
jumpHosts: nil,
213213
totpMode: nil,

TablePro/Core/Services/Export/ForeignApp/TablePlusImporter.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ struct TablePlusImporter: ForeignAppImporter {
189189
username: username,
190190
authMethod: useKey ? "Private Key" : "Password",
191191
privateKeyPath: useKey ? keyPath : "",
192-
useSSHConfig: false,
192+
useSSHConfig: true,
193193
agentSocketPath: "",
194194
jumpHosts: nil,
195195
totpMode: nil,

0 commit comments

Comments
 (0)