📦 Golang SSH 隧道
- 把.example.config.yaml文件重命名为config.yaml
- 修改对应的配置,运行即可
go get -u github.com/dtapps/dtapps/go-ssh-tunnel
package main
import (
"github.com/dtapps/go-ssh-tunnel/dssh"
)
func main() {
dssh.Tunnel("root", "", ":22", ":3306", "localhost:13306")
}