Here's some ways you can use it:
telebit http ~/Public # serve a public folder
telebit http 3000 # forward all https traffic to localhost:3000
telebit http none # remove all https handlers
You can always tunnel SSH over HTTPS, even while you're using it for something else:
telebit ssh auto
telebit ssh {{servername}}
- or -
ssh -o ProxyCommand='sclient %h' {{servername}}
- or -
proxy_cmd='openssl s_client -connect %h:443 -servername %h -quiet'
ssh -o ProxyCommand="$proxy_cmd" {{servername}}
ssh -o ProxyCommand='openssl s_client -connect %h:443 -servername %h -quiet' {{servername}}
Here's some ways you can use it:
telebit tcp 3000 # forward all tcp traffic to localhost:3000
telebit tcp /path/to/module # handle incoming tcp traffic with a node module
telebit tcp none # remove all tcp handlers
You can always use this port for SSH, even while you're using it for something else:
telebit ssh 22
ssh {{servername}} -p {{serviceport}}