As readers may know, I have a desktop PC and a Laptop PC. The laptop
recently had a memory meltdown, and so has been wiped and loaded with a
clean version of Ubuntu 22.04.5 LTS. The desktop already has that same
OS loaded, in fact they came from the same USB stick.
I have been bringing the laptop back up to full running condition, the
aim being to enable it to serve as a full backup if the desktop fails.
Part of this involves performing frequent rsync cross-PC backup
transfers, so that the laptop is up to date. But I am having problems
with ssh and rsync. I can talk from the laptop to the desktop fine, but
not the other way round. I get a 'connection refused' fault. The only
clue is this:
debug1: /etc/ssh/ssh_config line 19: include
/etc/ssh/ssh_config.d/*.conf matched no files
debug1: /etc/ssh/ssh_config line 21: Applying options for *
But I don't know what to look for in /etc/ssh/ssh_config, if that is
indeed the problem. Comparing the file in both PCs, I see no difference. Pinging the Laptop from the desktop works fine.
rsync in both machines is version 3.5.7 ver. 31, the latest available
for that OS, according to Synaptic.
As usual, any help gratefully received to solve this conundrum. I have followed loads of links, none of which have helped me.
As readers may know, I have a desktop PC and a Laptop PC. The laptop
recently had a memory meltdown, and so has been wiped and loaded with a
clean version of Ubuntu 22.04.5 LTS. The desktop already has that same
OS loaded, in fact they came from the same USB stick.
I have been bringing the laptop back up to full running condition, the
aim being to enable it to serve as a full backup if the desktop fails.
Part of this involves performing frequent rsync cross-PC backup
transfers, so that the laptop is up to date. But I am having problems
with ssh and rsync. I can talk from the laptop to the desktop fine, but
not the other way round. I get a 'connection refused' fault.
The only clue is this:
debug1: /etc/ssh/ssh_config line 19: include
/etc/ssh/ssh_config.d/*.conf matched no files
debug1: /etc/ssh/ssh_config line 21: Applying options for *
Davey <davey@example.invalid> wrote:
As readers may know, I have a desktop PC and a Laptop PC. The laptop recently had a memory meltdown, and so has been wiped and loaded
with a clean version of Ubuntu 22.04.5 LTS. The desktop already has
that same OS loaded, in fact they came from the same USB stick.
I have been bringing the laptop back up to full running condition,
the aim being to enable it to serve as a full backup if the desktop
fails. Part of this involves performing frequent rsync cross-PC
backup transfers, so that the laptop is up to date. But I am having problems with ssh and rsync. I can talk from the laptop to the
desktop fine, but not the other way round. I get a 'connection
refused' fault. The only clue is this:
debug1: /etc/ssh/ssh_config line 19: include
/etc/ssh/ssh_config.d/*.conf matched no files
debug1: /etc/ssh/ssh_config line 21: Applying options for *
But I don't know what to look for in /etc/ssh/ssh_config, if that is
indeed the problem. Comparing the file in both PCs, I see no
difference. Pinging the Laptop from the desktop works fine.
rsync in both machines is version 3.5.7 ver. 31, the latest
available for that OS, according to Synaptic.
As usual, any help gratefully received to solve this conundrum. I
have followed loads of links, none of which have helped me.
Do you have the SSH server package installed? On Ubuntu it's
openssh-server.
Theo
On 05 Oct 2025 14:22:42 +0100 (BST)
Theo <theom+news@chiark.greenend.org.uk> wrote:
Davey <davey@example.invalid> wrote:
As readers may know, I have a desktop PC and a Laptop PC. The
laptop recently had a memory meltdown, and so has been wiped and
loaded with a clean version of Ubuntu 22.04.5 LTS. The desktop
already has that same OS loaded, in fact they came from the same
USB stick. I have been bringing the laptop back up to full
running condition, the aim being to enable it to serve as a full
backup if the desktop fails. Part of this involves performing
frequent rsync cross-PC backup transfers, so that the laptop is
up to date. But I am having problems with ssh and rsync. I can
talk from the laptop to the desktop fine, but not the other way
round. I get a 'connection refused' fault. The only clue is this: debug1: /etc/ssh/ssh_config line 19: include
/etc/ssh/ssh_config.d/*.conf matched no files
debug1: /etc/ssh/ssh_config line 21: Applying options for *
But I don't know what to look for in /etc/ssh/ssh_config, if that
is indeed the problem. Comparing the file in both PCs, I see no difference. Pinging the Laptop from the desktop works fine.
rsync in both machines is version 3.5.7 ver. 31, the latest
available for that OS, according to Synaptic.
As usual, any help gratefully received to solve this conundrum. I
have followed loads of links, none of which have helped me.
Do you have the SSH server package installed? On Ubuntu it's openssh-server.
Theo
To both Theo and Richard:
That was most confusing. Both PCs had lots of files called openssh-server-something, but when I re-stalled it from scratch, it
then worked!
So thank you both.
I am battling a problem where /Pictures on the laptop refuses access,
but I can live without that until I get it sorted out.
Thanks!
Sysop: | Luis Silva |
---|---|
Location: | Lisbon |
Users: | 764 |
Nodes: | 10 (0 / 10) |
Uptime: | 30:10:46 |
Calls: | 546 |
Calls today: | 1 |
Files: | 46,973 |
Messages: | 13,611 |