Add support for SSH remote port forwarding#120
Add support for SSH remote port forwarding#120juergenhoetzel wants to merge 1 commit intopressly:masterfrom
Conversation
Yes, bastion hosts allow to access ssh hosts which are not accessible via a direct network connection. In OpenSSH config: Whereas remote port tunneling/forwarding allows access to tcp-services on the ssh-client side by listening on a tcp port on the remote side . In OpenSSH config: You can then use this environment variable on the remote site to access the local proxy: In your Supfile you get the same feature with this pull request: |
|
@juergenhoetzel I see, thanks. I'm still missing the point, though.
|
This would be the case if you do local Port forwarding (I didn't find a use-case for this). |
Use cases:
Still the error reporting (related to tunnel setup: bind error, connection-refused, ...) is not satisfactory. I would prefer to mix it with
remotes stderr but I don't see how this can be done.