Skip to content

[FEATURE] Allow port forwarding in ssh tunnel without double-ssh #889

Description

@cwill747

Title

Add ability to forward a port from an ssh session without sshing into the secondary device

Platform

N/A

Is it related to an issue?

I think this is probably related to #866 but I couldn't grok what that person was specifically asking for. I'd like the ability to just expose a port of a remote machine (RDP, in my case) through an ssh tunnel - but I don't want the tunnel to try to ssh into that secondary Windows device (there's no ssh there) - I just need to use the top-level tunnel as a bastion

This is essentially replicating
ProxyCommand ssh -L 8000:%h:3389 foo@bar.com in an ssh config

The Solution

I imagine that I could either create a Tunnel in the SSH section of a jumpbox that didn't try to ssh into the remote device.

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned
    No fields configured for Feature.

    Projects

    Status
    Feature Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions