Skip to content

Conversation

@Lukasa
Copy link
Contributor

@Lukasa Lukasa commented Apr 28, 2020

Motivation:

SSH provides for the valuable feature of remote and local TCP port
forwarding. This allows SSH clients and servers to arrange for TCP
connections to be tunnelled over the SSH connection, exposing machines
at either end of the SSH connection to each other over a secure link.
This allows a sort of "poor man's VPN" that can be established using the
existing SSH infrastructure, which is often sufficient to enable a wide
range of use cases. We should support it too.

Modifications:

Wide-ranging. Added the idea of an SSH channel type, added support for
exposing those in the channel initializer callbacks, plumbed through
support for global requests in the form of a global request delegate,
and many more. Substantially reworked a bunch of the API and internals,
basically.

Result:

Remote and local TCP port forwarding work swimmingly well.

@Lukasa Lukasa requested a review from artemredkin April 28, 2020 16:22
Motivation:

SSH provides for the valuable feature of remote and local TCP port
forwarding. This allows SSH clients and servers to arrange for TCP
connections to be tunnelled over the SSH connection, exposing machines
at either end of the SSH connection to each other over a secure link.
This allows a sort of "poor man's VPN" that can be established using the
existing SSH infrastructure, which is often sufficient to enable a wide
range of use cases. We should support it too.

Modifications:

Wide-ranging. Added the idea of an SSH channel type, added support for
exposing those in the channel initializer callbacks, plumbed through
support for global requests in the form of a global request delegate,
and many more. Substantially reworked a bunch of the API and internals,
basically.

Result:

Remote and local TCP port forwarding work swimmingly well.
@Lukasa Lukasa merged commit 6fd7c1e into apple:master Apr 29, 2020
@Lukasa Lukasa deleted the cb-tcp-port-forwarding branch April 29, 2020 11:35
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.

2 participants