funnel


Usage: funnel [-l <log-level>] <command> [<args>]

ffx Remote forwarding.


OPTIONS:


  -l, --log-level   sets the log level for  output (default = Error). Other
                    possible values are Info, Debug, Warn, and Trace
  --help            display usage information


SUBCOMMANDS:


  host              Remotely forwards a target from your local host to a remote
                    one.
  cleanup-remote-host
                    Cleans up a remote host's connections. This will ssh to the
                    provided remote host and look for sshd processes that are
                    actively listening to port 8022. If there are any, then it
                    will kill them. This needs to be run from an interactive
                    shell as it will prompt the user for their password (sudo).
  close-local-tunnel
                    Closes the local tunnel if it exists. Instructs the
                    ControlMaster running for funnel to exit
  list-targets      Remotely forwards a target from your local host to a remote
                    one.


cleanup-remote-host


Usage: funnel cleanup-remote-host <host>

Cleans up a remote host's connections. This will ssh to the provided remote host and look for sshd processes that are actively listening to port 8022. If there are any, then it will kill them. This needs to be run from an interactive shell as it will prompt the user for their password (sudo).

Positional Arguments:
  host              the remote host to cleanup


OPTIONS:


  --help            display usage information


close-local-tunnel


Usage: funnel close-local-tunnel <host>

Closes the local tunnel if it exists. Instructs the ControlMaster running for funnel to exit

Positional Arguments:
  host              the remote host to cleanup


OPTIONS:


  --help            display usage information


host


Usage: funnel host <host> [-t <target-name>] [-r <repository-port>] [-p <additional-port-forwards...>] [-w <wait-for-target-time>]

Remotely forwards a target from your local host to a remote one.

Positional Arguments:
  host              the remote host to forward to


OPTIONS:


  -t, --target-name the name of the target to forward
  -r, --repository-port
                    the repository port to forward to the remote host
  -p, --additional-port-forwards
                    additional ports to forward from the remote host to the
                    target.
  -w, --wait-for-target-time
                    time to wait to discover targets.
  --help            display usage information


list-targets


Usage: funnel list-targets [-w]

Remotely forwards a target from your local host to a remote one.


OPTIONS:


  -w, --watch       time to wait to discover targets.
  --help            display usage information