Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for ssh remote port forwarding #114

Merged
merged 1 commit into from
Aug 9, 2020
Merged

Conversation

davrodpin
Copy link
Owner

This change adds support for a new type of ssh tunnel, the remote port forwarding.

Partially implements #22.

This change adds support for a new type of ssh tunnel, the [remote port
forwarding](https://www.ssh.com/ssh/tunneling/example#remote-forwarding).

Other significant changes:

  * Adds a new TunnelType attribute to TunnelFlags so it can be
    passed to the Tunnel object, preparing it to support different types of
    port forwarding
    It also improves the description of `start local` command.
  * Hides how the `SSHChannel` objects are built under
    `tunnel.New`, opening room to create either ssh `local` or `remote`
    forwarding tunnels
  * Adds support for reading `RemoteForward` configuration from the
    ssh configuration file
  * Extends the ssh server implementation using for tests to handle
    "tcpip-forward" requests

Partially implements #22.
@davrodpin davrodpin merged commit 92f82af into master Aug 9, 2020
@davrodpin davrodpin deleted the tunnel/remote branch August 9, 2020 18:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant