Skip to content

Commit

Permalink
update ssh2-node cli to use same options as ssh
Browse files Browse the repository at this point in the history
  • Loading branch information
autonomous1 committed Feb 14, 2023
1 parent 31cdea0 commit d6136fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ npm i ssh_tunnel_proxy -g
Connect to remote host and establish local forwards:

```
ssh2-node <username>@<hostname> -i=~/.ssh/<private_key> -L=8180:192.168.1.1:80
ssh2-node -i=~/.ssh/<private_key> -L=8180:192.168.1.1:80 <username>@<hostname>
```

Connect to host with parameters stored in ~/.config/ssh_tunnel_proxy/config.json:
Expand Down

0 comments on commit d6136fb

Please sign in to comment.