github elisescu/tty-share v2.4.0

23 months ago

v2.4.0

This version adds an option to tunnel a TCP connection from the client to the server. It works in a similar way ssh -L option does, the main difference being that the server needs to accept tunnel forwarding (-A option on the server side). See the Readme, and the --help flag.

Example:

Server

~ $ tty-share --public -A
public session: https://on.tty-share.com/s/L8d2ECvHLhU8CXEBaEF5WKV8O3jsZkS5sXwG1__--2_jnFSlGonzXBe0qxd7tZeRvQM/
local session: http://localhost:8000/s/local/
Press Enter to continue!

~ $

Client

tty-share -L 1234:example.com:4567 https://on.tty-share.com/s/L8d2ECvHLhU8CXEBaEF5WKV8O3jsZkS5sXwG1__--2_jnFSlGonzXBe0qxd7tZeRvQM/

In addition to sharing the terminal session, this will also allow connections to 1234 on the client side to be tunneled to example.com:4567 via the server.

Don't miss a new tty-share release

NewReleases is sending notifications on new releases.