LM 17.3 rsync permission denied error on LAN

Questions about cabled networking
Forum rules
Before you post please read how to get help
Post Reply
Level 5
Level 5
Posts: 506
Joined: Fri Nov 22, 2013 9:48 am

LM 17.3 rsync permission denied error on LAN

Post by sadhu » Fri Jan 08, 2016 10:17 am

I have LM17.3 installed on my desktop and on my notebook, which are interconnected using a 'null modem' ethernet cable. I use the notebook when I'm on the road. When I return to the office I use rsync to synchronize my data partitions. But after I upgraded to 17.3 I am no longer able to interconnect the machines. I get a "permission denied" response from both when I run rsync.

I have installed ssh-server and client on both machines, and have executed "sudo ssh-keygen -f "/root/.ssh/known_hosts" -R notebook" on the desktop and "...-R desktop" on the notebook. On both machines /etc/hosts file contains

Code: Select all desktop notebook
On both machines I have left /etc/hosts.deny default, and on the desktop I added the following to /etc/hosts.allow:

Code: Select all

On the notebook I allow

Now I can connect to either machine using ssh, but rsync fails.

Because of the connection refused error I have to boot the notebook into LM17, then run rsync on the desktop: sudo rsync -av --delete notebook:/ddr/ /ddr (where /ddr/ is the data partition). I get the connection refused error when I attempt to run rsync on the notebook.

How do I correct this behaviour so that I can run rsync in 17.3 on either machine?


sabbe sattā bhavantu sukhitattā. LN 18.3-64 Cinn 3.4.6, Mobo: ASUSTeK STRIX B250G GAMING v, Dual core Pntm G4560, Intel Gfx. Laptop:Dell Inspiron 15-3000, Core i3, 4G RAM Intel Gfx

Level 6
Level 6
Posts: 1242
Joined: Wed Oct 20, 2010 6:49 am
Location: Nappanee, IN, USA

Re: LM 17.3 rsync permission denied error on LAN

Post by cwsnyder » Fri Jan 08, 2016 11:24 am

First, what I know about SSH is minimal, at best. There is a tutorial on Digital Ocean on using rsync over ssh at https://www.digitalocean.com/community/ ... c-over-ssh
LMDE Mate 64-bit, LM17.3 Cinnamon 64-bit
Debian Mate 64-bit, Xubuntu xenial 64-bit, Ubuntu-Mate 14.04 64-bit, Antergos Xfce 64-bit, PCLinuxOS Mate 64-bit

Post Reply

Return to “Ethernet”