ssh-client-wrapper 2.2.6 → 2.2.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/lib/util.js +1 -1
  2. package/package.json +1 -1
package/lib/util.js CHANGED
@@ -123,7 +123,7 @@ const sanityCheck = (hostInfo) => {
123
123
  hostInfo.password = password;
124
124
  }
125
125
  if (["string", "function"].includes(typeof passphrase)) {
126
- hostInfo.password = password;
126
+ hostInfo.passphrase = passphrase;
127
127
  }
128
128
  if (masterPty === null || typeof masterPty === "function") {
129
129
  hostInfo.masterPty = masterPty;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ssh-client-wrapper",
3
- "version": "2.2.6",
3
+ "version": "2.2.7",
4
4
  "description": "wrapper library for open ssh client and rsync",
5
5
  "keywords": [
6
6
  "ssh",