koyachi / sshtunnel

A tool helps to do ssh forwarding.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sshtunnel

A tool helps to do ssh forwarding.

Features

  • Usable as a CLI tool or as a library.

Installation

To install the library and command line program, use the following:

go get -u github.com/li-go/sshtunnel/tunnel

Usage

$ tunnel config.json

See config.json.sample for format of config file.

Use go-bindata to build independent binary

$ git clone https://github.com/li-go/sshtunnel.git && cd sshtunnel
$ go get -u github.com/go-bindata/go-bindata
$ go-bindata -o=bindata.go -pkg=sshtunnel -tags=bindata ~/.ssh
$ go build -tags bindata tunnel/main.go
$ mv ./main ~/.go/bin/tunnel

About

A tool helps to do ssh forwarding.


Languages

Language:Go 100.0%