[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ssh again



On 06/14/2016 07:32 AM, Lisi Reisz wrote:
... I am now trying to copy files aroind.
... scp /path/to/file username@a:/path/to/destination
.. host names,
... ssh into two computers that I administer 11 miles away,
...  their ISP uses dynamic

I use scp if I'm copying files for the first time -- e.g. nothing on the destination end. After that, I use rsync.


It's easiest if there is one read-write copy of the files/ directories/ file system (source, master) and all the other copies are read-only (backup, slave, snapshots). Keeping N read-write file systems synchronized is a non-trivial problem.


Many programs (including rsync) depend upon the clock being set correctly. I strive to install an ntp service on every machine I use.


There are a great number of choices and technologies available for connecting computers into networks.


While you can build your own LAN infrastructure machines from scratch using Debian (DHCP, DNS, firewall, NAT, etc.), it can be better, faster, cheaper to use a good FOSS firewall/ router appliance distribution:

    http://www.ipcop.org/

    https://www.pfsense.org/

    https://openwrt.org/


When you're ready to connect multiple LAN's over the Internet (OpenVPN), you will need a DDNS server. Again, you can roll your own or you can find a productized solution (at least one other poster suggested some DDNS providers). You will need to coordinate your choice of DDNS service with your choice of router. It's nice to have your own domain name.


David


Reply to: