fix: jump hosts failing

This commit is contained in:
LukeGus
2026-05-26 15:30:22 -05:00
parent 0a3517f9b0
commit 57d9e0c035
+3 -2
View File
@@ -76,8 +76,9 @@ export class SSHAuthManager {
resolvedCredentials = { resolvedCredentials = {
username: (cred.username as string) || hostConfig.username, username: (cred.username as string) || hostConfig.username,
password: (cred.password as string) || undefined, password: (cred.password as string) || undefined,
key: cred.privateKey key:
? Buffer.from(cred.privateKey as string) cred.key || cred.privateKey
? Buffer.from((cred.key || cred.privateKey) as string)
: undefined, : undefined,
keyPassword: (cred.keyPassword as string) || undefined, keyPassword: (cred.keyPassword as string) || undefined,
authType: (cred.authType as string) || "none", authType: (cred.authType as string) || "none",