Under rpi buster I could rsync and scp files between my rpis and my
Macs. Using the new bookworm I can no longer scp or rsync with my
Macs. I moved to bookworm because I just got my rpi5. How can I
copy files between my Macs and my rpis now? Yeah, there is
flashdrives and sneakernet but I prefer internet. Error msg 'Unable
to negotiate with 192.168.1.129 port 22: no matching host key type
found. Their offer: ssh-rsa,ssh=dss (this is for scp and rsync on my
rpi5 to my MacBook). What do I need to configure?
Under rpi buster I could rsync and scp files between my rpis and my
Macs. Using the new bookworm I can no longer scp or rsync with my Macs.
I moved to bookworm because I just got my rpi5. How can I copy files between my Macs and my rpis now? Yeah, there is flashdrives and
sneakernet but I prefer internet. Error msg 'Unable to negotiate with 192.168.1.129 port 22: no matching host key type found. Their offer: ssh-rsa,ssh=dss (this is for scp and rsync on my rpi5 to my MacBook).
What do I need to configure?
Thanks. --Steve
On 22/02/2024 15:15, SteveN wrote:
Under rpi buster I could rsync and scp files between my rpis and my
Macs. Using the new bookworm I can no longer scp or rsync with my
Macs. I moved to bookworm because I just got my rpi5. How can I
copy files between my Macs and my rpis now? Yeah, there is
flashdrives and sneakernet but I prefer internet. Error msg 'Unable
to negotiate with 192.168.1.129 port 22: no matching host key type
found. Their offer: ssh-rsa,ssh=dss (this is for scp and rsync on
my rpi5 to my MacBook). What do I need to configure?
Thanks. --Steve
Have you set up ssh keys on your rpi5?
<https://raspberrytips.com/generate-ssh-keys-on-raspberry-pi/>
Pancho <Pancho.Jones@proton.me> writes:
On 22/02/2024 15:15, SteveN wrote:
Under rpi buster I could rsync and scp files between my rpis and my
Macs. Using the new bookworm I can no longer scp or rsync with my
Macs. I moved to bookworm because I just got my rpi5. How can I
copy files between my Macs and my rpis now? Yeah, there is
flashdrives and sneakernet but I prefer internet. Error msg 'Unable
to negotiate with 192.168.1.129 port 22: no matching host key type
found. Their offer: ssh-rsa,ssh=dss (this is for scp and rsync on
my rpi5 to my MacBook). What do I need to configure?
Thanks. --Steve
Have you set up ssh keys on your rpi5?
<https://raspberrytips.com/generate-ssh-keys-on-raspberry-pi/>
Read the error message, this is about host keys on the Mac, not the user
keys on the Pi.
I did wonder, but assumed a MAC would automatically update its SSH
software. I'm still not sure if this is what you are getting at. Maybe
the fact it is still offering ssh=dss is the smoking gun, a sign of old software?
I did wonder, but assumed a MAC would automatically update its SSH
software.
On Thu, 22 Feb 2024 18:06:00 +0000, Pancho wrote:
I did wonder, but assumed a MAC would automatically update its SSH
software.
This is Apple, remember. As with Bash and GCC and Python and others, they’re probably allergic to the licence in the new version or something.
Under rpi buster I could rsync and scp files between my rpis and my
Macs. Using the new bookworm I can no longer scp or rsync with my Macs.
What do I need to configure?
On 25/02/2024 18:39, SteveN wrote:
I think I found a solution. As suggested I aaded the following line
to both ssh_config and sshd_config files just after the first
Include line
HostKeyAlgorithms +ssh-rsa,ssh-dss
rsync and scp seem to work both ways now. (Reboot after editing
config files - /etc/ssh/ssh_config and /etc/ssh/sshd_config on the
rpi5 bookworm . I'll do it to my rpi4b machine now too.
I recommend prefix those lines with a filter for the problematic
machine, so you can't unwittingly be compromised by week security on
other sites.
e.g.
Host <hostname>
HostKeyAlgorithms +ssh-rsa,ssh-dss
Sysop: | Weed Hopper |
---|---|
Location: | Clearwater, FL |
Users: | 14 |
Nodes: | 6 (0 / 6) |
Uptime: | 231:51:39 |
Calls: | 55 |
Calls today: | 1 |
Files: | 50,127 |
D/L today: |
34 files (4,425K bytes) |
Messages: | 275,411 |