Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

Captain's Log, star date 21:34.5...


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

SubjectAuthor
* scp and rsyncSteveN
`* Re: scp and rsyncSteveN
 `* Re: scp and rsyncSteveN
  `* Re: scp and rsyncdruck
   `- Re: scp and rsyncRichard Kettlewell

1
scp and rsync

<urfqic$1ut2s$1@dont-email.me>

  copy mid

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

  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: nelsonse48@gmail.com (SteveN)
Newsgroups: comp.sys.raspberry-pi
Subject: scp and rsync
Date: Sun, 25 Feb 2024 10:40:28 -0600
Organization: A noiseless patient Spider
Lines: 56
Message-ID: <urfqic$1ut2s$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 25 Feb 2024 16:40:44 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="124055ce3adad81e4bb64087e554e718";
logging-data="2061404"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/ru82HNceSQ3YiviHpUnVVV8SZwaKlpqU="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:SyNGRyWR0+ho+n6HkrCrP44FdPA=
Content-Language: en-US
 by: SteveN - Sun, 25 Feb 2024 16:40 UTC

Sorry, I am new to using Thunderbird as a newsreader and can't get it to
send followups. The following is the ssh info on my older Mac and new
rpi5. They talk to each other with scp and rsync. Any ideas how to
proceed?

Mac mini OSX Version 10.8.5

mini:Posts snelson$ uname -a
Darwin mini.home 12.6.0 Darwin Kernel Version 12.6.0: Wed Mar 18
16:23:48 PDT 2015; root:xnu-2050.48.19~1/RELEASE_X86_64 x86_64
mini:Posts snelson$ ssh -V
OpenSSH_5.9p1, OpenSSL 0.9.8zg 14 July 2015
mini:Posts snelson$ ls -al /etc/ssh*
-rw-r--r-- 1 root wheel 1732 Apr 11 2013 /etc/ssh_config
-rw-r--r-- 1 root wheel 1319 Nov 30 2007 /etc/ssh_config.applesaved
-rw-r--r-- 1 root wheel 1465 Sep 24 2007 /etc/ssh_config.system_default
-rw-r--r-- 1 root wheel 1622 Oct 21 2016 /etc/ssh_config~orig
-rw------- 1 root wheel 668 Feb 15 2007 /etc/ssh_host_dsa_key
-rw-r--r-- 1 root wheel 590 Feb 15 2007 /etc/ssh_host_dsa_key.pub
-rw------- 1 root wheel 515 Feb 15 2007 /etc/ssh_host_key
-rw-r--r-- 1 root wheel 319 Feb 15 2007 /etc/ssh_host_key.pub
-rw------- 1 root wheel 887 Feb 15 2007 /etc/ssh_host_rsa_key
-rw-r--r-- 1 root wheel 210 Feb 15 2007 /etc/ssh_host_rsa_key.pub
-rw-r--r-- 1 root wheel 3797 Apr 11 2013 /etc/sshd_config
-rw-r--r-- 1 root wheel 2772 Nov 30 2007 /etc/sshd_config.applesaved
-rw-r--r-- 1 root wheel 3362 Sep 24 2007 /etc/sshd_config.system_default
-rw-r--r-- 1 root wheel 3698 Oct 21 2016 /etc/sshd_config~orig
mini:Posts snelson$

Rpi5 Debian Bookworm
pi@rpi5:~ $ uname -a
Linux rpi5 6.1.0-rpi8-rpi-2712 #1 SMP PREEMPT Debian 1:6.1.73-1+rpt1
(2024-01-25) aarch64 GNU/Linux
pi@rpi5:~ $ ssh -V
OpenSSH_9.2p1 Debian-2+deb12u2, OpenSSL 3.0.11 19 Sep 2023
pi@rpi5:~ $ ls -al /etc/ssh
total 624
drwxr-xr-x 4 root root 4096 Jan 16 17:09 .
drwxr-xr-x 139 root root 12288 Feb 25 09:41 ..
-rw-r--r-- 1 root root 573928 Sep 23 17:11 moduli
-rw-r--r-- 1 root root 1650 Sep 23 17:11 ssh_config
drwxr-xr-x 2 root root 4096 Sep 23 17:11 ssh_config.d
-rw-r--r-- 1 root root 3223 Sep 23 17:11 sshd_config
drwxr-xr-x 2 root root 4096 Jan 16 17:11 sshd_config.d
-rw------- 1 root root 505 Dec 31 1969 ssh_host_ecdsa_key
-rw-r--r-- 1 root root 173 Dec 31 1969 ssh_host_ecdsa_key.pub
-rw------- 1 root root 399 Dec 31 1969 ssh_host_ed25519_key
-rw-r--r-- 1 root root 93 Dec 31 1969 ssh_host_ed25519_key.pub
-rw------- 1 root root 2590 Dec 31 1969 ssh_host_rsa_key
-rw-r--r-- 1 root root 565 Dec 31 1969 ssh_host_rsa_key.pub
-rw-r--r-- 1 root root 342 Feb 28 2020 ssh_import_id
pi@rpi5:~ $
pi@rpi5:~/Downloads $

Re: scp and rsync

<urfqss$1utr7$1@dont-email.me>

  copy mid

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

  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: nelsonse48@gmail.com (SteveN)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: scp and rsync
Date: Sun, 25 Feb 2024 10:46:19 -0600
Organization: A noiseless patient Spider
Lines: 60
Message-ID: <urfqss$1utr7$1@dont-email.me>
References: <urfqic$1ut2s$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 25 Feb 2024 16:46:20 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="124055ce3adad81e4bb64087e554e718";
logging-data="2062183"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18wwqQvDodhfb6KfH3rE9WUjit6H+WUiHI="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:joT0GE/YVb139xDyjRTm5+ri108=
Content-Language: en-US
In-Reply-To: <urfqic$1ut2s$1@dont-email.me>
 by: SteveN - Sun, 25 Feb 2024 16:46 UTC

On 2/25/24 10:40, SteveN wrote:
> Sorry, I am new to using Thunderbird as a newsreader and can't get it to
> send followups.  The following is the ssh info on my older Mac and new
> rpi5.  They talk to each other with scp and rsync.  Any ideas how to
> proceed?
They CAN'T talk to each other with scp and rsync Bad typo!
>
> Mac mini OSX Version 10.8.5
>
> mini:Posts snelson$ uname -a
> Darwin mini.home 12.6.0 Darwin Kernel Version 12.6.0: Wed Mar 18
> 16:23:48 PDT 2015; root:xnu-2050.48.19~1/RELEASE_X86_64 x86_64
> mini:Posts snelson$ ssh -V
> OpenSSH_5.9p1, OpenSSL 0.9.8zg 14 July 2015
> mini:Posts snelson$ ls -al /etc/ssh*
> -rw-r--r--  1 root  wheel  1732 Apr 11  2013 /etc/ssh_config
> -rw-r--r--  1 root  wheel  1319 Nov 30  2007 /etc/ssh_config.applesaved
> -rw-r--r--  1 root  wheel  1465 Sep 24  2007 /etc/ssh_config.system_default
> -rw-r--r--  1 root  wheel  1622 Oct 21  2016 /etc/ssh_config~orig
> -rw-------  1 root  wheel   668 Feb 15  2007 /etc/ssh_host_dsa_key
> -rw-r--r--  1 root  wheel   590 Feb 15  2007 /etc/ssh_host_dsa_key.pub
> -rw-------  1 root  wheel   515 Feb 15  2007 /etc/ssh_host_key
> -rw-r--r--  1 root  wheel   319 Feb 15  2007 /etc/ssh_host_key.pub
> -rw-------  1 root  wheel   887 Feb 15  2007 /etc/ssh_host_rsa_key
> -rw-r--r--  1 root  wheel   210 Feb 15  2007 /etc/ssh_host_rsa_key.pub
> -rw-r--r--  1 root  wheel  3797 Apr 11  2013 /etc/sshd_config
> -rw-r--r--  1 root  wheel  2772 Nov 30  2007 /etc/sshd_config.applesaved
> -rw-r--r--  1 root  wheel  3362 Sep 24  2007
> /etc/sshd_config.system_default
> -rw-r--r--  1 root  wheel  3698 Oct 21  2016 /etc/sshd_config~orig
> mini:Posts snelson$
>
>
> Rpi5 Debian Bookworm
> pi@rpi5:~ $ uname -a
> Linux rpi5 6.1.0-rpi8-rpi-2712 #1 SMP PREEMPT Debian 1:6.1.73-1+rpt1
> (2024-01-25) aarch64 GNU/Linux
> pi@rpi5:~ $ ssh -V
> OpenSSH_9.2p1 Debian-2+deb12u2, OpenSSL 3.0.11 19 Sep 2023
> pi@rpi5:~ $ ls -al /etc/ssh
> total 624
> drwxr-xr-x   4 root root   4096 Jan 16 17:09 .
> drwxr-xr-x 139 root root  12288 Feb 25 09:41 ..
> -rw-r--r--   1 root root 573928 Sep 23 17:11 moduli
> -rw-r--r--   1 root root   1650 Sep 23 17:11 ssh_config
> drwxr-xr-x   2 root root   4096 Sep 23 17:11 ssh_config.d
> -rw-r--r--   1 root root   3223 Sep 23 17:11 sshd_config
> drwxr-xr-x   2 root root   4096 Jan 16 17:11 sshd_config.d
> -rw-------   1 root root    505 Dec 31  1969 ssh_host_ecdsa_key
> -rw-r--r--   1 root root    173 Dec 31  1969 ssh_host_ecdsa_key.pub
> -rw-------   1 root root    399 Dec 31  1969 ssh_host_ed25519_key
> -rw-r--r--   1 root root     93 Dec 31  1969 ssh_host_ed25519_key.pub
> -rw-------   1 root root   2590 Dec 31  1969 ssh_host_rsa_key
> -rw-r--r--   1 root root    565 Dec 31  1969 ssh_host_rsa_key.pub
> -rw-r--r--   1 root root    342 Feb 28  2020 ssh_import_id
> pi@rpi5:~ $
> pi@rpi5:~/Downloads $
>
>

Re: scp and rsync

<urg1h2$20gqe$1@dont-email.me>

  copy mid

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

  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: nelsonse48@gmail.com (SteveN)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: scp and rsync
Date: Sun, 25 Feb 2024 12:39:21 -0600
Organization: A noiseless patient Spider
Lines: 19
Message-ID: <urg1h2$20gqe$1@dont-email.me>
References: <urfqic$1ut2s$1@dont-email.me> <urfqss$1utr7$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 25 Feb 2024 18:39:30 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="124055ce3adad81e4bb64087e554e718";
logging-data="2114382"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19I6IoV5qVPEI1/fd2mob5uaKMWv/FEjuI="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:qESQFsxv8d1GXV0JAblkBxelZNw=
Content-Language: en-US
In-Reply-To: <urfqss$1utr7$1@dont-email.me>
 by: SteveN - Sun, 25 Feb 2024 18:39 UTC

On 2/25/24 10:46, SteveN wrote:
> On 2/25/24 10:40, SteveN wrote:
>> Sorry, I am new to using Thunderbird as a newsreader and can't get it
>> to send followups.  The following is the ssh info on my older Mac and
>> new rpi5.  They talk to each other with scp and rsync.  Any ideas how
>> to proceed?
> They CAN'T talk to each other with scp and rsync  Bad typo!

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.
Thanks for help.
--Steve

Re: scp and rsync

<urivji$2oadv$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!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: Mon, 26 Feb 2024 21:24:53 +0000
Organization: A noiseless patient Spider
Lines: 13
Message-ID: <urivji$2oadv$1@dont-email.me>
References: <urfqic$1ut2s$1@dont-email.me> <urfqss$1utr7$1@dont-email.me>
<urg1h2$20gqe$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: base64
Injection-Date: Mon, 26 Feb 2024 21:25:06 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="96006eae4df1dfd2560b82a9478853c1";
logging-data="2894271"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19pvhqNLG3X2dPGl2x6ot7a"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:BdJaZ0JIKAhfXAC4dOqpygF0kHU=
In-Reply-To: <urg1h2$20gqe$1@dont-email.me>
Content-Language: en-GB
 by: druck - Mon, 26 Feb 2024 21:24 UTC

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

Re: scp and rsync

<wwvbk82x0bb.fsf@LkoBDZeT.terraraq.uk>

  copy mid

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

  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: Mon, 26 Feb 2024 23:39:20 +0000
Organization: terraraq NNTP server
Message-ID: <wwvbk82x0bb.fsf@LkoBDZeT.terraraq.uk>
References: <urfqic$1ut2s$1@dont-email.me> <urfqss$1utr7$1@dont-email.me>
<urg1h2$20gqe$1@dont-email.me> <urivji$2oadv$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="20674"; mail-complaints-to="usenet@innmantic.terraraq.uk"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)
Cancel-Lock: sha1:kBDZgKLwu+7HI7MwWZDoT3w/52I=
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 - Mon, 26 Feb 2024 23:39 UTC

druck <news@druck.org.uk> writes:
> 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

I recommend upgrading the ancient macOS install to something from this
decade l-)

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

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor