fix: jump hosts failing

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