logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

htc - httptunnel client

Author

       This manual page was contributed by Teemu Hukkanen <tjhukkan@iki.fi>, and was originally written for  the
       Debian GNU/Linux system.

Description

       This manual page briefly documents the htc command.

       htc  sets  up a httptunnel connection to PORT at HOST (default port is 8888).  When a connection is made,
       I/O is redirected from the source specified by the --device, --forward-port or --stdin-stdout  switch  to
       the tunnel.

Examples

       Start httptunnel server
              hts-Flocalhost:228888 Aat host REMOTE, set up httptunnel server to  listen  on  port  8888  and
              forward to localhost:22

       Start httptunnel client
              htc-F2222-PPROXY_ADDRESS:8000REMOTE_IP:8888  At  host LOCAL, set up httptunnel client to
              forward localhost:2222 to REMOTE_IP:8888 via a local proxy at PROXY_ADDRESS:8000

       Or, if using a buffering HTTP proxy
              htc-F2222-PPROXY_ADDRESS:8000-B48KREMOTE_IP:8888

       Now you can connect through the tunnel on host LOCAL
              sshssh://localhost:2222

Name

       htc - httptunnel client

Options

       The  program follows the usual GNU command line syntax, with long options starting with two dashes (`-').
       A summary of options are included below.

       -h,--help
              Show summary of options.

       -c,--content-lengthBYTES
              use HTTP PUT requests of BYTES size (k, M, and G postfixes recognized)

       -d,--deviceDEVICE
              use DEVICE for input and output

       -F,--forward-portPORT
              use TCP port PORT for input and output

       -k,--keep-aliveSECONDS
              send keepalive bytes every SECONDS seconds (default is 5)

       -M,--max-connection-ageSEC
              maximum time a connection will stay open is SEC seconds (default is 300)

       -S,--strict-content-length
              always write Content-Length bytes in requests

       -A,--proxy-authorizationUSER:PASSWORD
              proxy authorization

       -z,--proxy-authorization-fileFILE
              proxy authorization file

       -B,--proxy-buffer-sizeBYTES
              assume a proxy buffer size of BYTES bytes (k, M, and G postfixes recognized)

       -P,--proxyHOSTNAME[:PORT]
              use a HTTP proxy (default port is 8080)

       -s,--stdin-stdout
              use stdin/stdout for communication (implies --no-daemon)

       -T,--timeoutTIME
              timeout, in milliseconds, before sending padding to a buffering proxy

       -U,--user-agentSTRING
              specify User-Agent value in HTTP requests

       -R,--base-uriSTRING
              specify a base URI value for all HTTP requests (default base URI is "/index.html?crap=")

       -V,--version
              output version information and exit

       -w,--no-daemon
              don't fork into the background

See Also

hts(1)

                                                                                                          HTC(1)

Synopsis

htc[options]host[:port]

See Also