The tunnel command forwards a remote port locally.

The following AsciiCast demonstrates how to access a remote elastic search process running on port 9200, by forwarding the connection to local port 9200. In the example, the remote elastic search server is accessible via two intermediate proxies, with Bcome handling all the SSH connectivity transparently.


To replay this Asciicast in your own terminal, install the asciinema package from https://asciinema.org/, and then enter the following in your terminal:

asciinema play https://asciinema.org/a/F94gN1eVHYhsitYhDkdQHGxLW

See the Bcome documentation for more information on executing commands.

For a full command list, see command menu.