fix: jump hosts failing

This commit is contained in:
LukeGus
2026-05-26 15:28:44 -05:00
parent 3011de6abb
commit 0a3517f9b0
6 changed files with 13 additions and 7 deletions
+4 -2
View File
@@ -199,7 +199,7 @@ async function resolveJumpHost(
return {
...host,
password: credential.password as string | undefined,
key: credential.privateKey as string | undefined,
key: (credential.key || credential.privateKey) as string | undefined,
keyPassword: credential.keyPassword as string | undefined,
keyType: credential.keyType as string | undefined,
authType: credential.authType as string | undefined,
@@ -740,7 +740,9 @@ app.post("/docker/ssh/connect", async (req, res) => {
const credential = credentials[0];
resolvedCredentials = {
password: credential.password as string | undefined,
sshKey: credential.privateKey as string | undefined,
sshKey: (credential.key || credential.privateKey) as
| string
| undefined,
keyPassword: credential.keyPassword as string | undefined,
authType: credential.authType as string | undefined,
};