MCPcopy Create free account
hub / github.com/mscdex/ssh2 / forwardOut

Method forwardOut

lib/server.js:1295–1299  ·  view source on GitHub ↗
(boundAddr, boundPort, remoteAddr, remotePort, cb)

Source from the content-addressed store, hash-verified

1293 }
1294
1295 forwardOut(boundAddr, boundPort, remoteAddr, remotePort, cb) {
1296 const opts = { boundAddr, boundPort, remoteAddr, remotePort };
1297 openChannel(this, 'forwarded-tcpip', opts, cb);
1298 return this;
1299 }
1300
1301 openssh_forwardOutStreamLocal(socketPath, cb) {
1302 const opts = { socketPath };

Callers

nothing calls this directly

Calls 1

openChannelFunction · 0.70

Tested by

no test coverage detected