rm-sync
rm-sync copied to clipboard
OpenSSH 8.8 ssh-rsa problem
There is a problem when trying to log in via OpenSSH 8.8. To solve this, the following options must be added to the script
-
PubkeyAcceptedKeyTypes +ssh-rsa
-
HostKeyAlgorithms +ssh-rsa
The ssh/scp call must be adapted as follows:
ssh -o PubkeyAcceptedKeyTypes=+ssh-rsa -o HostKeyAlgorithms=+ssh-rsa ...
scp -o PubkeyAcceptedKeyTypes=+ssh-rsa -o HostKeyAlgorithms=+ssh-rsa ...