I have a LAN with a few Ubuntu machines. My brother has a LAN with a few Linux machines.
We want to share some folders between each other, with full read/write access. How?
The special challenge is that we're not in the same house. We're not even in the same country!
I'm guessing we need to set up some kind of private virtual network, so that the machines are essentially on the same LAN even though there are two ISP's in between.
How can we achieve this? What software/hardware do we even need?
We both have stable DSL lines. We both have Linux-only home LANs. Do we need some kind of SSL certificates? A domain name? I have no idea. I just know that NFS is way too complicated for my skill level.
Update: Based on Bodhi's suggestion to use sshfs, I could immediately make that work between machines on my own LAN. So far so good! But:
- How can my brother access the machines in my home LAN, from his LAN? First of all, I'm guessing I need to arrange a DynDNS name for my home, because ISP-assigned IP addresses will change over time. But that won't help him address one specific machine on my LAN. How would he do that?
- Is there a guide that explains what the steps are to "Use ssh keys and disable password auth"? I'm guessing I need to generate a set of private/public ssh keys and give him the public one? But then anyone with that key could access my machines? How does this work?
When the above has been solved, I can just reverse our roles to access his machines the same way.