From d47343e3ca39dfcc5e66d3514722ad17e29b40d2 Mon Sep 17 00:00:00 2001 From: sin Date: Thu, 23 Oct 2014 18:28:57 +0100 Subject: Add an examples section in the README --- README | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'README') 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 =========== -- cgit v1.2.3