simonschllng/rm-sync

OpenSSH 8.8 ssh-rsa problem

Opened this issue · 0 comments

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