Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] rsync ssh error
- Date: Tue, 20 Jun 2023 06:54:11 -0400
- From: Scott Robbins <scottro@example.com>
- Subject: Re: [tlug] rsync ssh error
- References: <f423352d-e7df-e03b-5367-1a5e0b92d41b@l.u-tokyo.ac.jp>
On Tue, Jun 20, 2023 at 01:10:51PM +0900, Charles Muller wrote: > For years, I've been running this script to download a comments file from my > server to my local machine: > > rsync -uvptl -e ssh <home>@192.81.129.86:/dicts/ddb/comments/comments.html > $winD/docs/web/dicts/ddb/comments/ > > The other day, I upgraded from Ubuntu 20.04 to 22.04. Having done this, > when I try to run this script, I get the following error message: > > Unable to negotiate with 192.81.129.86 port 22: no matching host key type > found. Their offer: ssh-rsa,ssh-dss > rsync: connection unexpectedly closed (0 bytes received so far) [Receiver] > > > The most common solution I found on the web was to add > > -oHostKeyAlgorithms=+ssh-rsa I think you might want -oHostKeyAlgorithims=ssh-dss Which is what I use for an old machine we have at work which would give the same message and was solved with that solution. You can even put it in $HOME/.ssh/config Host 192.81.129.86 HostKeyAlgorithims=ssh-dss This is what I use on a FreeBSD host to reach a FreeBSD guest, and it works without problem. -- Scott Robbins PGP keyID EB3467D6 ( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 EB34 67D6 ) gpg --keyserver pgp.mit.edu --recv-keys EB3467D6
- References:
- [tlug] rsync ssh error
- From: Charles Muller
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] rsync ssh error
- Next by Date: Re: [tlug] rsync ssh error
- Previous by thread: Re: [tlug] rsync ssh error
- Index(es):