remy
remy copied to clipboard
no matching host key type found. Their offer: ssh-rsa
Hi,
I just wanted to mention that upon upgrading to Fedora 37 (OpenSSL 3.0.5 5, rsync version 3.2.7 protocol version 31) remy stopped working for me.
The ssh part goes through just fine (it connects and can send commands to my Remarkable 1), but the rsync part fails with the error message
Unable to negotiate with 10.11.99.1 port 22: no matching host key type found. Their offer: ssh-rsa
rsync: connection unexpectedly closed (0 bytes received so far) [Receiver]
rsync error: unexplained error (code 255) at io.c(231) [Receiver=3.2.7]
Unable to negotiate with 10.11.99.1 port 22: no matching host key type found. Their offer: ssh-rsa
rsync: connection unexpectedly closed (0 bytes received so far) [Receiver]
rsync error: unexplained error (code 255) at io.c(231) [Receiver=3.2.7]
The quick and dirty fix is to change the line
ssh_config = ['-e', '%s -o batchmode=yes' % which("ssh")]
in filesource.py to
ssh_config = ['-e', '%s -o batchmode=yes -o HostKeyAlgorithms=+ssh-rsa' % which("ssh")]
Then everything works again :)
Cheers, Vladyslav