Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8023

Beginners • Re: Rsync any computer to any other computer with sshfs

$
0
0
Regular readers know what's coming...

First let me say that's a helluva a lot better than most other guides. But...
  • ssh, nmap, and rsync are part of the default RPiOS installation so there is no need to install them.
  • ssh keys created are user specific so you'll need to repeat those steps for each user on each machine
  • "There is also the benefit of a simpler backup architecture to maintain. Staying on top of the backup logic of computers in your network when it's situated on just one RPI is so much easier than when backup configs are spread all over the place, with rsync code on each and every individual computer."
    I'm really not sure that's the case. For this to work either every user on every other machine has to back up to the same user on the Pi (insecure) or the Pi needs to have a user that matches the username of each user on every other machine (secure but more complex).
    And you'll still have "rsync code on each and every individual computer" otherwise there's nothing to do the back up.
  • Why "sudo su -" and not sudo -i?
  • The two sed commands under step 2. While they improve security things should work without them.
  • I'm confused. Is "(only continue if the outcome equals 2)" part of what I should enter into my command line? It certainly looks to be. (First code line in step 3)
  • What do the arguments -Pn do to nmap? (Same line, yes I could look them up but I shouldn't have to.)
  • Same for the -p argument to mkdir.
  • Is the nmap call really necessary? It tells you whether port 22 is open on both machines but not whether you can login. If the port is closed won't the sshfs commands fail? It also doesn't tell which one is down should that be the case.

Statistics: Posted by thagrol — Mon Aug 25, 2025 4:23 pm



Viewing all articles
Browse latest Browse all 8023

Trending Articles