File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,9 @@ Create a configuration file:
2222``` javascript
2323{
2424 " KeyFiles" : [" /path/to/key.priv" ],
25+ " AgentSocket" : " /path/to/ssh_agent.sock" ,
26+ // Or with the following to cooperate with envsubst(1):
27+ // "AgentSocket": "$SSH_AUTH_SOCK",
2528 " KnownHostFiles" : [" /path/to/known_hosts" ],
2629 " Tunnels" : [{
2730 // Forward tunnel (locally binded socket proxies to remote target).
@@ -44,4 +47,8 @@ ssh $USER@$HOST -i /path/to/key.priv -R $BIND_ADDRESS:$BIND_PORT:$DIAL_ADDRESS:$
4447
4548Start the daemon (assuming ` $GOPATH/bin ` is in your ` $PATH ` ):
4649
47- ``` sshtunnel /path/to/config.json ```
50+ ``` bash
51+ sshtunnel /path/to/config.json
52+ # With the following to cooperate with envsubst(1):
53+ # sshtunnel <(envsubst < /path/to/config.json)
54+ ```
You can’t perform that action at this time.
0 commit comments