ssh-remote-port-forward
TypeScript icon, indicating that this package has built-in type declarations

1.0.4 • Public • Published

SSH Remote Port Forward

Allows the client to tunnel back to the host.

Node.js CI npm version npm version

Install

npm install --save ssh-remote-port-forward

Usage

import { 
  createSshConnection, 
  SshConnection, 
  ConnectConfig 
} from "ssh-remote-port-forward";

const connectConfig: ConnectConfig = {
  host: "example",
  port: "22",
};

const sshConnection: SshConnection = await createSshConnection(
  connectConfig
);

await sshConnection.remoteForward("localhost", 8000)

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.4
    324,769
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.4
    324,769
  • 1.0.3
    946
  • 1.0.2
    0
  • 1.0.1
    0

Package Sidebar

Install

npm i ssh-remote-port-forward

Weekly Downloads

325,715

Version

1.0.4

License

MIT

Unpacked Size

8.13 kB

Total Files

9

Last publish

Collaborators

  • cristianrgreco