Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

I surely do hope that's a syntax error. -- Larry Wall in <199710011752.KAA21624@wall.org>


computers / comp.sys.raspberry-pi / Re: scp and rsync

SubjectAuthor
* scp and rsyncSteveN
+* Re: scp and rsyncPancho
|`* Re: scp and rsyncRichard Kettlewell
| `* Re: scp and rsyncPancho
|  +- Re: scp and rsyncdruck
|  `* Re: scp and rsyncLawrence D'Oliveiro
|   `- Re: scp and rsyncRichard Kettlewell
+- Re: scp and rsyncRichard Kettlewell
`- Re: scp and rsyncDoc O'Leary ,

1
scp and rsync

<ur7of5$3uc37$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=9333&group=comp.sys.raspberry-pi#9333

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!news.chmurka.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: nelsonse48@gmail.com (SteveN)
Newsgroups: comp.sys.raspberry-pi
Subject: scp and rsync
Date: Thu, 22 Feb 2024 09:15:37 -0600
Organization: A noiseless patient Spider
Lines: 9
Message-ID: <ur7of5$3uc37$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 22 Feb 2024 15:15:49 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="a2f1768e6ae6707826d716ed71a089ba";
logging-data="4141159"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18meV8QD/BjX/F835mqhPUEqHw4+FAlAZc="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:E1Sl7CF/sPgY6rTcbBg7yNMtTJM=
Content-Language: en-US
 by: SteveN - Thu, 22 Feb 2024 15:15 UTC

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

Re: scp and rsync

<ur7tei$3v3cf$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=9334&group=comp.sys.raspberry-pi#9334

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Pancho.Jones@proton.me (Pancho)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: scp and rsync
Date: Thu, 22 Feb 2024 16:40:50 +0000
Organization: A noiseless patient Spider
Lines: 18
Message-ID: <ur7tei$3v3cf$1@dont-email.me>
References: <ur7of5$3uc37$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 22 Feb 2024 16:40:50 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="aefc18f829de71470072063ecb1b07f4";
logging-data="4165007"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18y7werKFGC0veP3m2ETKQ82b6ZdThsIQk="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:WTf/nRZ/QqyFNPMCGBgdqLr1yIw=
Content-Language: en-GB
In-Reply-To: <ur7of5$3uc37$1@dont-email.me>
 by: Pancho - Thu, 22 Feb 2024 16:40 UTC

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/>

Re: scp and rsync

<wwvzfvsjutw.fsf@LkoBDZeT.terraraq.uk>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=9335&group=comp.sys.raspberry-pi#9335

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!news.nntp4.net!nntp.terraraq.uk!.POSTED.tunnel.sfere.anjou.terraraq.org.uk!not-for-mail
From: invalid@invalid.invalid (Richard Kettlewell)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: scp and rsync
Date: Thu, 22 Feb 2024 17:02:35 +0000
Organization: terraraq NNTP server
Message-ID: <wwvzfvsjutw.fsf@LkoBDZeT.terraraq.uk>
References: <ur7of5$3uc37$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: innmantic.terraraq.uk; posting-host="tunnel.sfere.anjou.terraraq.org.uk:172.17.207.6";
logging-data="76549"; mail-complaints-to="usenet@innmantic.terraraq.uk"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)
Cancel-Lock: sha1:JCETz1HRO9dywYdCs8VpD1ZRAUI=
X-Face: h[Hh-7npe<<b4/eW[]sat,I3O`t8A`(ej.H!F4\8|;ih)`7{@:A~/j1}gTt4e7-n*F?.Rl^
F<\{jehn7.KrO{!7=:(@J~]<.[{>v9!1<qZY,{EJxg6?Er4Y7Ng2\Ft>Z&W?r\c.!4DXH5PWpga"ha
+r0NzP?vnz:e/knOY)PI-
X-Boydie: NO
 by: Richard Kettlewell - Thu, 22 Feb 2024 17:02 UTC

SteveN <nelsonse48@gmail.com> writes:
> 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?

Most likely generating a new host key on the MacBook, using a less
broken algorithm, will be sufficient. With that in mind:

* What SSH version do you have on the MacBook?
To find out: ssh -V

* What host keys do you already have?
To find out: ls -l /etc/ssh

--
https://www.greenend.org.uk/rjk/

Re: scp and rsync

<wwvttm0jurv.fsf@LkoBDZeT.terraraq.uk>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=9336&group=comp.sys.raspberry-pi#9336

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!news.nntp4.net!nntp.terraraq.uk!.POSTED.tunnel.sfere.anjou.terraraq.org.uk!not-for-mail
From: invalid@invalid.invalid (Richard Kettlewell)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: scp and rsync
Date: Thu, 22 Feb 2024 17:03:48 +0000
Organization: terraraq NNTP server
Message-ID: <wwvttm0jurv.fsf@LkoBDZeT.terraraq.uk>
References: <ur7of5$3uc37$1@dont-email.me> <ur7tei$3v3cf$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Info: innmantic.terraraq.uk; posting-host="tunnel.sfere.anjou.terraraq.org.uk:172.17.207.6";
logging-data="76549"; mail-complaints-to="usenet@innmantic.terraraq.uk"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)
Cancel-Lock: sha1:fik/3diGFQwrpYA7AXH0JFY8Dj0=
X-Face: h[Hh-7npe<<b4/eW[]sat,I3O`t8A`(ej.H!F4\8|;ih)`7{@:A~/j1}gTt4e7-n*F?.Rl^
F<\{jehn7.KrO{!7=:(@J~]<.[{>v9!1<qZY,{EJxg6?Er4Y7Ng2\Ft>Z&W?r\c.!4DXH5PWpga"ha
+r0NzP?vnz:e/knOY)PI-
X-Boydie: NO
 by: Richard Kettlewell - Thu, 22 Feb 2024 17:03 UTC

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.

--
https://www.greenend.org.uk/rjk/

Re: scp and rsync

<ur82e8$3vsqu$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=9337&group=comp.sys.raspberry-pi#9337

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Pancho.Jones@proton.me (Pancho)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: scp and rsync
Date: Thu, 22 Feb 2024 18:06:00 +0000
Organization: A noiseless patient Spider
Lines: 32
Message-ID: <ur82e8$3vsqu$1@dont-email.me>
References: <ur7of5$3uc37$1@dont-email.me> <ur7tei$3v3cf$1@dont-email.me>
<wwvttm0jurv.fsf@LkoBDZeT.terraraq.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 22 Feb 2024 18:06:00 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="aefc18f829de71470072063ecb1b07f4";
logging-data="4191070"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18G92S5XBJabjdbxmOL/MFX8dXqid7IPE8="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:0c1dmAWXcml53FKInTxMptZqi5I=
In-Reply-To: <wwvttm0jurv.fsf@LkoBDZeT.terraraq.uk>
Content-Language: en-GB
 by: Pancho - Thu, 22 Feb 2024 18:06 UTC

On 22/02/2024 17:03, Richard Kettlewell wrote:
> 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.
>

The message isn't great.

I assume you mean it is about SHA-1 being deprecated for use with RSA,
in OpenSSH 8.2. That SHA-1 is not actually part of the key, only a hash
used to sign the key. I think you explained this a year or two ago. The
point being that SHA-1 is an attribute of the SSH software, not the RSA key.

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?

Re: scp and rsync

<uraq7o$mmio$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=9351&group=comp.sys.raspberry-pi#9351

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: news@druck.org.uk (druck)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: scp and rsync
Date: Fri, 23 Feb 2024 19:04:09 +0000
Organization: A noiseless patient Spider
Lines: 11
Message-ID: <uraq7o$mmio$1@dont-email.me>
References: <ur7of5$3uc37$1@dont-email.me> <ur7tei$3v3cf$1@dont-email.me>
<wwvttm0jurv.fsf@LkoBDZeT.terraraq.uk> <ur82e8$3vsqu$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 23 Feb 2024 19:04:24 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="bacca49ca41f8168416ba8b85504cf8a";
logging-data="744024"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/UIeJhldXHKbyJx70J1/6a"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:OmTALbdWn0Cr9RpdL8ccvpQubZI=
In-Reply-To: <ur82e8$3vsqu$1@dont-email.me>
Content-Language: en-GB
 by: druck - Fri, 23 Feb 2024 19:04 UTC

On 22/02/2024 18:06, Pancho wrote:
> 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?

Yes, but you can set up a machine specific exception in
/etc/ssh/ssh_config to allow the older encryption algorithms if an
upgrade isn't forthcoming.

---druck

Re: scp and rsync

<urb74n$phho$5@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=9353&group=comp.sys.raspberry-pi#9353

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ldo@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: scp and rsync
Date: Fri, 23 Feb 2024 22:44:40 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 7
Message-ID: <urb74n$phho$5@dont-email.me>
References: <ur7of5$3uc37$1@dont-email.me> <ur7tei$3v3cf$1@dont-email.me>
<wwvttm0jurv.fsf@LkoBDZeT.terraraq.uk> <ur82e8$3vsqu$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 23 Feb 2024 22:44:40 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="1c30df426ba638bd6ae2f81f1dfd3d68";
logging-data="837176"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18uCoXyTsb+72BkYWJjrdhR"
User-Agent: Pan/0.155 (Kherson; fc5a80b8)
Cancel-Lock: sha1:CwvmwFz2JzH3tmLZQmJx38R7s9k=
 by: Lawrence D'Oliv - Fri, 23 Feb 2024 22:44 UTC

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.

Re: scp and rsync

<wwvo7c66isi.fsf@LkoBDZeT.terraraq.uk>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=9356&group=comp.sys.raspberry-pi#9356

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!nntp.terraraq.uk!.POSTED.tunnel.sfere.anjou.terraraq.org.uk!not-for-mail
From: invalid@invalid.invalid (Richard Kettlewell)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: scp and rsync
Date: Sat, 24 Feb 2024 14:25:33 +0000
Organization: terraraq NNTP server
Message-ID: <wwvo7c66isi.fsf@LkoBDZeT.terraraq.uk>
References: <ur7of5$3uc37$1@dont-email.me> <ur7tei$3v3cf$1@dont-email.me>
<wwvttm0jurv.fsf@LkoBDZeT.terraraq.uk> <ur82e8$3vsqu$1@dont-email.me>
<urb74n$phho$5@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Info: innmantic.terraraq.uk; posting-host="tunnel.sfere.anjou.terraraq.org.uk:172.17.207.6";
logging-data="115593"; mail-complaints-to="usenet@innmantic.terraraq.uk"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)
Cancel-Lock: sha1:x+o+43nCV1F/qxYvwHqScNJBgHM=
X-Face: h[Hh-7npe<<b4/eW[]sat,I3O`t8A`(ej.H!F4\8|;ih)`7{@:A~/j1}gTt4e7-n*F?.Rl^
F<\{jehn7.KrO{!7=:(@J~]<.[{>v9!1<qZY,{EJxg6?Er4Y7Ng2\Ft>Z&W?r\c.!4DXH5PWpga"ha
+r0NzP?vnz:e/knOY)PI-
X-Boydie: NO
 by: Richard Kettlewell - Sat, 24 Feb 2024 14:25 UTC

Lawrence D'Oliveiro <ldo@nz.invalid> writes:
> On Thu, 22 Feb 2024 18:06:00 +0000, Pancho wrote:
>> I did wonder, but assumed a MAC would automatically update its SSH
>> software.

Under normal circumstances SSH updates accompany macOS updates.

> 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.

Current macOS has OpenSSH 9.4, i.e. August last year. But what matters
here is what the OP is actually running and they’ve not yet shared that
information as far as I can see.

--
https://www.greenend.org.uk/rjk/

Re: scp and rsync

<urd1rt$18dru$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=9358&group=comp.sys.raspberry-pi#9358

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: droleary@2017usenet1.subsume.com (Doc O'Leary ,)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: scp and rsync
Date: Sat, 24 Feb 2024 15:26:54 -0000 (UTC)
Organization: Subsume Technologies, Inc.
Lines: 21
Message-ID: <urd1rt$18dru$1@dont-email.me>
References: <ur7of5$3uc37$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 24 Feb 2024 15:26:54 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="84c6c92943dc8651c666fb34f856e5af";
logging-data="1324926"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/3CSCFAJzKdgIZ3tTdgW5B3iEUK8Q3eX8="
User-Agent: com.subsume.NNTP/1.0.0
Cancel-Lock: sha1:NGxR5tsg/dn1nmlme7ycGrGBkzk=
 by: Doc O'Leary , - Sat, 24 Feb 2024 15:26 UTC

For your reference, records indicate that
SteveN <nelsonse48@gmail.com> 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.

> What do I need to configure?

I ran into the same problem with the VLC mobile app when trying to connect
to the buster-upgraded RPi I have managing podcasts for me. Did a bit of
searching and settled on this solution:

pi@media:~ $ cat /etc/ssh/sshd_config.d/vlc.conf
HostkeyAlgorithms +ssh-rsa,ssh-dss

--
"Also . . . I can kill you with my brain."
River Tam, Trash, Firefly

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor