Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for syncing over tor? #29

Open
a-t-0 opened this issue Dec 24, 2021 · 2 comments
Open

Support for syncing over tor? #29

a-t-0 opened this issue Dec 24, 2021 · 2 comments

Comments

@a-t-0
Copy link

a-t-0 commented Dec 24, 2021

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.

@mateogianolio
Copy link
Owner

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

@a-t-0
Copy link
Author

a-t-0 commented Jan 13, 2022

Thank you for the clarification and directed suggestion!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants