mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
🐛 Fix issue setting passphrase correctly (#1966)
This commit is contained in:
@@ -320,7 +320,7 @@ export class Ssh implements INodeType {
|
|||||||
privateKey: path,
|
privateKey: path,
|
||||||
} as any; // tslint:disable-line: no-any
|
} as any; // tslint:disable-line: no-any
|
||||||
|
|
||||||
if (!credentials.passphrase) {
|
if (credentials.passphrase) {
|
||||||
options.passphrase = credentials.passphrase as string;
|
options.passphrase = credentials.passphrase as string;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user