summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorsin <sin@2f30.org>2014-10-23 18:28:57 +0100
committersin <sin@2f30.org>2014-10-23 18:28:57 +0100
commitd47343e3ca39dfcc5e66d3514722ad17e29b40d2 (patch)
tree491e270a78946e26debad9838682f4b566171fd6 /README
parent67f1d18bdf67fe487c6a85c0930938f85f703235 (diff)
Add an examples section in the README
Diffstat (limited to 'README')
-rw-r--r--README17
1 files changed, 17 insertions, 0 deletions
diff --git a/README b/README
index 01423f0..716d84f 100644
--- a/README
+++ b/README
@@ -111,6 +111,23 @@ NOTE: Some of these features are not intended to be developed
in ratox itself but rather in external scripts that are built upon
ratox.
+Examples
+========
+
+SSH over TOX for the practical paranoid
+---------------------------------------
+
+On the sender side (the client):
+1) cd into the friend's directory (the server)
+2) nc -lv 1234 > file_in < file_out
+
+On the receiver side (the server):
+1) cd into the friend's directory (the client)
+2) cat < file_out | nc localhost 22 > file_in
+
+Now on the client run the following:
+ssh -o ProxyCommand="nc %h 1234" user@localhost
+
Portability
===========