Skip to content

A small wrapper over the sshTunnel lib in order to make it work in the terminal

Notifications You must be signed in to change notification settings

eranmit99/sshTunnelCmd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Install

npm install -g ./

Usage

  1. Create a new config.json file:

     {
     	"port": 22,
     	"dstPort": 6379,
     	"localHost": "127.0.0.1",
     	"localPort": 6380,
     	"keepAlive": true,
     	"rsa": "path/to/id_rsa",
     	"username": "user"
     }
    
  2. Configure sshTunnel

     sshTunnel -c path/to/config.json 
    
  3. Start sshTunnel

     sshTunnel -h 54.149.120.41 -d destination.server.location.amazonaws.com
    

About

A small wrapper over the sshTunnel lib in order to make it work in the terminal

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published