diff --git a/src/backend/database/routes/ssh.ts b/src/backend/database/routes/ssh.ts index cf75f4f0..ca153157 100644 --- a/src/backend/database/routes/ssh.ts +++ b/src/backend/database/routes/ssh.ts @@ -1239,14 +1239,6 @@ async function resolveHostCredentials(host: any): Promise { }; } } - - const result = { ...host }; - if (host.key_password !== undefined) { - if (result.keyPassword === undefined) { - result.keyPassword = host.key_password; - } - delete result.key_password; - } const result = { ...host }; if (host.key_password !== undefined) { if (result.keyPassword === undefined) {