This repository has been archived by the owner on Jan 25, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
sshtunnels
Dashamir Hoxha edited this page Aug 10, 2017
·
2 revisions
https://github.com/docker-scripts/sshtunnels
ds pull sshtunnels
ds init sshtunnels @ssht
cd /var/ds/ssht/
vim settings.sh
ds build
ds create
ds config
tunnel-add <server-name> <server-port>
Create the keys and scripts that are needed to create
a ssh tunnel to a port on a remote server.
The parameter <server-name> can be anything and is used
to identify a server from the others.
The parameter <server-port> is the port on the server
that is made available through the ssh tunnel (can be 22
or anything else).
tunnel-del <server-name> <server-port>
Delete the keys and scripts of a given ssh tunnel.