mirror of
https://github.com/Termix-SSH/Termix.git
synced 2026-07-15 21:03:47 +00:00
fix: jump hosts failing
This commit is contained in:
@@ -76,9 +76,10 @@ 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
|
||||||
: undefined,
|
? Buffer.from((cred.key || cred.privateKey) as string)
|
||||||
|
: 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",
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user