Simple SSH port forward in Golang

前端 未结 4 920
忘掉有多难
忘掉有多难 2020-12-28 09:45

I\'m trying to create (and later close) a simple TCP port forward over SSH with Go. I\'m new to Golang and statically typed languages. (Coming from Ruby.)

In a termi

4条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-28 10:20

    I have used your (damick) example code to build a tiny open source tool: SSHTunnel https://github.com/SommerEngineering/SSHTunnel

    Therefore, the code is freely available at GitHub for anyone: Please feel free to use it for learning purposes or for anything else :) I have mentioned your nickname and also linked to this question.

    Best regards, Thorsten.

提交回复
热议问题