Mailing List Archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] rsync ssh error

Maybe add Pubkey AcceptedKeyTypes.  I had an older Juniper switch that is out of support, resulting in an old version ssh.  I started getting those errors last year when attempting to ssh to it.  My workaround was to throw something like the following into my ~/.ssh/config file:

Host oldswitch
     HostName oldswitch
     User admin
     HostKeyAlgorithms +ssh-rsa
     PubkeyAcceptedKeyTypes +ssh-rsa


Warm regards,

Stephen Lasseter [スティーブン ラサター]
openpgp: 0x90F3EBAF

On 6/20/23 13:10, 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>@ $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 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


to the line, but that doesn't help.

BTW, it's a WSL installation.



A. Charles Muller, Professor

Buddhist Culture Research Center
Musashino University
1-1-20 Shinmachi, Nishitokyo-shi
Tokyo 202-8585, Japan
Office Phone: 042-468-3145

(University of Tokyo, Professor Emeritus)
Web Site: Resources for East Asian Language and Thought

Twitter: @ACharlesMuller

Home | Main Index | Thread Index