[erlang-questions] SSH tunnels

József Bérces jozsef.berces@REDACTED
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:serge@REDACTED]
Sent: Wednesday, February 17, 2016 17:48
To: József Bérces
Cc: erlang-questions@REDACTED
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.

Serge

On Wed, Feb 17, 2016 at 10:38 AM, József Bérces <jozsef.berces@REDACTED<mailto:jozsef.berces@REDACTED>> wrote:
Can we establish SSH tunnels with pure Erlang code? I would be interested in setting up local and dynamic port forwarding.

Thanks,
Jozsef

_______________________________________________
erlang-questions mailing list
erlang-questions@REDACTED<mailto:erlang-questions@REDACTED>
http://erlang.org/mailman/listinfo/erlang-questions

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20160218/289f2db2/attachment.htm>


More information about the erlang-questions mailing list