icexin / sshtun

multiple ssh tunnel at once

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Overview

sshtun creates mutiple tunnels like ssh -L

Install

go install github.com/icexin/sshtun

Config

[ssh]
# ssh address
addr="example.com:22"

# ssh user name
user="root"

# ssh user password
password="xxx"

# or ssh private key
keyPath="/Users/icexin/.ssh/id_rsa"

[ports]
# listen on 0.0.0.0:8090 and forward connections to icexin.com:80
8080="icexin.com:80"

# you may specify more tunnels
8090="google.com:80"

Usage

./sshtun

About

multiple ssh tunnel at once

License:MIT License


Languages

Language:Go 100.0%