npm install -g ./
-
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" }
-
Configure sshTunnel
sshTunnel -c path/to/config.json
-
Start sshTunnel
sshTunnel -h 54.149.120.41 -d destination.server.location.amazonaws.com