diff options
author | fabrixxm <fabrix.xm@gmail.com> | 2017-04-07 21:11:12 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-07 21:11:12 +0200 |
commit | 65243979ba7216b32045c5da98c98f2686a97f7a (patch) | |
tree | 70433325bc91707941464ca95ac0c1c98ee11de5 | |
parent | d59b35d00bf2da3eb185043bba08acb3acc7c977 (diff) |
tokssh: add missing secret option to cmd line 🤦
-rwxr-xr-x | scripts/tokssh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/tokssh b/scripts/tokssh index 11cf858..0017221 100755 --- a/scripts/tokssh +++ b/scripts/tokssh | |||
@@ -29,9 +29,9 @@ then | |||
29 | # last argument is user@toxid | 29 | # last argument is user@toxid |
30 | user=${arruserhost[0]} | 30 | user=${arruserhost[0]} |
31 | toxid=${arruserhost[1]} | 31 | toxid=${arruserhost[1]} |
32 | ssh -o ProxyCommand="tuntox -i $toxid -P 127.0.0.1:%p" $args $user@localhost | 32 | ssh -o ProxyCommand="tuntox -i $toxid -P 127.0.0.1:%p $secret" $args $user@localhost |
33 | else | 33 | else |
34 | # last argument is just toxid | 34 | # last argument is just toxid |
35 | ssh -o ProxyCommand="tuntox -i $userhost -P 127.0.0.1:%p" $args localhost | 35 | ssh -o ProxyCommand="tuntox -i $userhost -P 127.0.0.1:%p $secret" $args localhost |
36 | fi | 36 | fi |
37 | 37 | ||