<div dir="ltr"><div><div><div><div>Hi all<br><br></div>Does anyone have an example of an Erlang port forwarding SSH server?<br></div>My aim is to give it a ssh -R 1234:localhost:5678 and have the erlang server forward connections on 1234 to localhost:5678.<br>
<br></div>I've started ssh:daemon as described in the docs and have an Erlang shell on the server end of my ssh connection, so that at least is working, but I can't seem to get ssh_connection:direct_tcpip called.<br>
</div><div>I  guessed that I needed to add a "direct-tcpip" subsystem but this is ignored when I ssh in.<br></div><div><div><div><div><div>Anyone got any pointers to get me started?<br></div><div><br>-- <br><div dir="ltr">
<div><br></div></div>
</div></div></div></div></div></div>