ssh-tunnel

command module
v0.0.0-...-2d26357 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 22, 2020 License: MIT Imports: 7 Imported by: 0

README

(1) example add env

export SSH_AUTH_LOGIN=login

export SSH_AUTH_KEY=cat /Users/login/.ssh/id_rsa

(2) example build and run

docker build . --tag=ssh-tunnel

docker run --env SSH_AUTH_LOGIN=$SSH_AUTH_LOGIN --env SSH_AUTH_KEY=$SSH_AUTH_KEY -p 8080:8080 -it ssh-tunnel --port=8080 --

host=192.168.100.100 --server=server.domain

(3) example to hub

docker build . --tag username/ssh-tunnel:latest

docker push username/ssh-tunnel:latest

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL