sshync icon indicating copy to clipboard operation
sshync copied to clipboard

Support for syncing over tor?

Open a-t-0 opened this issue 3 years ago • 2 comments
trafficstars

Does this repository facilitate the usage of torify, or torsocks such that the ssh syncing can (easily) be done over tor?

For completeness; the xy-problem for me can be summarised as:

  1. I am behind a default gateway over which I have no control at this point in time,
  2. I currently do not have access to a VPN in which I can set up port forwarding to my local IP-address.
  3. Additionally, I often change IP addresses, so it would be nice to have a constant address at which I can be reached regardless of my IP address, which is provided by tor.

Since default ssh works over tor using torsocks/torify, I thought this wonderful repository might too. Hence, the question.

a-t-0 avatar Dec 24 '21 12:12 a-t-0

Hello there!

This tool does not facilitate the usage of torify or torsocks that I know of, however it might be possible if changing the rsync shell to something other than ssh:

https://github.com/mateogianolio/sshync/blob/master/sshync.js#L24

Here is the rsync library used by this tool: https://www.npmjs.com/package/rsync

mateogianolio avatar Jan 13 '22 08:01 mateogianolio

Thank you for the clarification and directed suggestion!

a-t-0 avatar Jan 13 '22 09:01 a-t-0