Skip to content

Feature Request: Support SSH Tunnels via Jump Servers #2

Closed

Description

@WrongGitUsername

I would like to request support for establishing SSH tunnels through one or more jump servers.

My use case / Scenario:

  • heavy user of mtr.
  • i make user of multiple jump servers that are directly reachable via SSH.
  • from each jump server, downstream systems are accessible via SSH, Telnet, SNMP, etc.
  • occasionally, connectivity fails on the path between a specific jump server and a destination device.
  • in those cases, the same destination device may still be reachable from a different jump server.
  • ideally, all destination devices should be reachable from all jump servers.

Current Workflow:
I use a simple Python3 script that can test reachability:

  • from all jump servers
  • from a selected subset of jump servers

I use mtr from single jump servers.
This approach works, but I believe ttl has the potential to provide a more robust, scalable, and integrated solution.

Network size: thousands of devices

Additional Requests:

  1. I would also be interested in testing ttl in an isolated environment.
    It would be very helpful to provide some Docker based instructions or a sample Docker setup for local testing and validation. My system or the jumpservers don`t have Rust. Installing Rust on my system is an option but it cannot be installed on the jumpservers.

  2. Testing multiple devices from multiple jump servers at the same time.

Something like:

ttl -m -j all

ttl asks: "Please provide a list of devices:"
User pastes:

"device1
device2
device3
device4
etc"

-m - user provides a list of multiple devices or a file name / file path
-j all - uses all the preconfigured jumpservers with (hostname, ssh username/password and/or ssh-key). The user can also do "-j jumpserver1,jumpserver2,jumpserver3".

Expected result:

Something like a dashboard or a table where the devices are on the left collumn and the jumpservers are on the top row.
Devices---jumpserver1-----------------jumpserver2-----------------jumpserver3-----------------
device1 - Good Info/Small Graph - Good Info/Small Graph - Good Info/Small Graph
device2 - Good Info/Small Graph - Good Info/Small Graph - Bad Info/Small Graph
device3 - Good Info/Small Graph - Good Info/Small Graph - Good Info/Small Graph
device4 - Good Info/Small Graph - Good Info/Small Graph - Good Info/Small Graph

Good Info / Bad info could be something like 0% packetloss, 100% packetloss, latency bellow/over x %. ttl is already collecting information like this.

Good Info/Small Graph - green color
Bad Info/Small Graph - red color
Yellow for something in between: some packetloss was present, some latency over x ms, etc.

The user should be able to select or click on a specific path (example: i would like to see the path between device2 and jumpserver3 because something is bad, red or yellow there)
When the path is selected, ttl should display the detailed information / corresponding graph for that specific path, consistent with its current behavior for single path visualization.
That would be amazing to have.

Activity

  1. lance0 commented on Jan 17, 2026

    @lance0
    Owner

    Thanks for this, I will certainly take a look.

  2. lance0 commented on Jan 17, 2026

    @lance0
    Owner

    Thanks for the detailed write-up—this is a thoughtful use case, but it falls outside ttl's current scope.

    Why: Traceroute/ICMP can't be tunneled through SSH. SSH tunnels are TCP streams, so raw ICMP probes won't pass
    through. The practical way to traceroute "from" a jump server is to run the tool directly on that server.

    Good news: You don't need Rust on the jump hosts. As of v0.12.4, the Linux x86_64 binary is fully static (musl)
    and runs with zero dependencies:

    curl -L https://github.com/lance0/ttl/releases/latest/download/ttl-x86_64-unknown-linux-musl.tar.gz | tar xz
    ./ttl 8.8.8.8

    Suggested approach: Your existing Python workflow is the right architecture. SSH to each jump server, run ttl there,
    and aggregate locally:

      ssh jumpserver1 '/usr/local/bin/ttl --json -c 20 device1' > js1_device1.json
      ssh jumpserver2 '/usr/local/bin/ttl --json -c 20 device1' > js2_device1.json
    

    The --json output includes loss%, latency, jitter, and per-hop data—everything you'd need to build the matrix
    dashboard you described.

    Tip: If downstream devices are reachable via SSH from your jump servers, you can chain with ssh -J (ProxyJump) to run
    ttl even further downstream—though ttl still executes on the remote host, not tunneled.

    Let me know if a sample Python aggregation script or Docker setup for local testing would help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions