ssh-client-wrapper 2.6.0 → 2.6.1

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/fork.js +5 -0
  2. package/package.json +1 -1
package/lib/fork.js CHANGED
@@ -96,6 +96,11 @@ async function fork (hostInfo, cmd, args, timeout, outputCallback, retryableExit
96
96
  err.retryable = true;
97
97
  reject(err);
98
98
  }
99
+ if (/muxserver_listen: link mux listener .* Bad file descriptor/.test(output)) {
100
+ ptyProcess.kill();
101
+ const err = new Error("Control socket creation failed");
102
+ reject(err);
103
+ }
99
104
  });
100
105
  }
101
106
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ssh-client-wrapper",
3
- "version": "2.6.0",
3
+ "version": "2.6.1",
4
4
  "description": "wrapper library for open ssh client and rsync",
5
5
  "keywords": [
6
6
  "ssh",