From 1b46ea5d30d4d7ee026a58197ef3aca628e918eb Mon Sep 17 00:00:00 2001 From: Ricardo Espinoza Date: Sun, 4 Jul 2021 12:57:53 -0400 Subject: [PATCH] :bug: Fix issue setting passphrase correctly (#1966) --- packages/nodes-base/nodes/Ssh/Ssh.node.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nodes-base/nodes/Ssh/Ssh.node.ts b/packages/nodes-base/nodes/Ssh/Ssh.node.ts index 293203e3eb..acbb3cb2c0 100644 --- a/packages/nodes-base/nodes/Ssh/Ssh.node.ts +++ b/packages/nodes-base/nodes/Ssh/Ssh.node.ts @@ -320,7 +320,7 @@ export class Ssh implements INodeType { privateKey: path, } as any; // tslint:disable-line: no-any - if (!credentials.passphrase) { + if (credentials.passphrase) { options.passphrase = credentials.passphrase as string; }