[erlang-questions] SSH tunnels
Thu Feb 18 12:45:16 CET 2016
Thanks. I meant the application level port-forwarding but tunneling the Erlang transport is also interesting.
From: Serge Aleynikov [mailto:]
Sent: Wednesday, February 17, 2016 17:48
To: József Bérces
Subject: Re: [erlang-questions] SSH tunnels
Are you talking about running distributed Erlang transport over SSH tunnels or creating tunnels via the Erlang's SSH client/server applications?
It would certainly be nice if distributed transport supported such an option, albeit it's not a trivial change, that would involve similar effort to supporting multiple transports (https://github.com/erlang/otp/pull/121).
If it's just for application-level port forwarding, then I would think leveraging the SSH server's port forwarding facility with the Erlang client-side tunneling, you can look at ssh_connection:direct_tcpip/6, which does exactly that.
On Wed, Feb 17, 2016 at 10:38 AM, József Bérces <<mailto:>> wrote:
Can we establish SSH tunnels with pure Erlang code? I would be interested in setting up local and dynamic port forwarding.
erlang-questions mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions