commit d47343e3ca39dfcc5e66d3514722ad17e29b40d2 parent 67f1d18bdf67fe487c6a85c0930938f85f703235 Author: sin <sin@2f30.org> Date: Thu, 23 Oct 2014 18:28:57 +0100 Add an examples section in the README Diffstat:
M | README | | | 17 | +++++++++++++++++ |
1 file changed, 17 insertions(+), 0 deletions(-)
diff --git 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 ===========