diff --git a/src/backend/database/routes/ssh.ts b/src/backend/database/routes/ssh.ts index ca153157..6ccd50c2 100644 --- a/src/backend/database/routes/ssh.ts +++ b/src/backend/database/routes/ssh.ts @@ -1412,7 +1412,7 @@ router.post( hostData.authType === "credential" ? hostData.credentialId : null, key: hostData.authType === "key" ? hostData.key : null, key_password: - hostData.authType === "key" ? hostData.key_password : null, + hostData.authType === "key" ? hostData.keyPassword : null, keyType: hostData.authType === "key" ? hostData.keyType || "auto" : null, pin: hostData.pin || false,