diff options
author | GDR! <gdr@gdr.name> | 2016-05-05 19:50:05 +0200 |
---|---|---|
committer | GDR! <gdr@gdr.name> | 2016-05-05 19:50:05 +0200 |
commit | c17be222aa46a4cf1a9d19c0ae767697ad585fd3 (patch) | |
tree | fb0f2d28760f6c3d2d914cead6ece7236eb844a5 | |
parent | 4f38371fd72ba889e39805b76a1a2402194b5398 (diff) |
ProxyCommand explained
-rw-r--r-- | README.md | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -52,6 +52,10 @@ Magic, port 2222 on your localhost is now the SSH server on the machine which ru | |||
52 | 52 | ||
53 | The -L switch works (almost) the same way it does in SSH. For the uninitiated, -L A:B:C means "forward port C on ip B to port A on localhost". Unlike SSH, you can't use hostnames for B (unless you link the binary dynamically). | 53 | The -L switch works (almost) the same way it does in SSH. For the uninitiated, -L A:B:C means "forward port C on ip B to port A on localhost". Unlike SSH, you can't use hostnames for B (unless you link the binary dynamically). |
54 | 54 | ||
55 | Alternatively, SSH ProxyCommand mode works too: | ||
56 | |||
57 | ssh -o ProxyCommand='./tuntox -i <ToxID> -P localhost:22' gdr@localhost | ||
58 | |||
55 | Fun stuff: [VPN over Tox](VPN.md) | 59 | Fun stuff: [VPN over Tox](VPN.md) |
56 | 60 | ||
57 | ## Security / threat model | 61 | ## Security / threat model |