milanmk / actions-file-deployer

Composite GitHub Action (Linux runner) for deploying repository content to remote server. Fast and customizable deployment with proxy support. Deploy only changed files or do full sync/mirror of repository content.
The Unlicense
62 stars 14 forks source link

"no matching host key type found. Their offer: ssh-rsa" How do I solve this problem? #32

Closed bsmin-grey closed 5 months ago

bsmin-grey commented 5 months ago

hello. I always appreciate your code. Unfortunately the server I need to upload to via sftp is using the ssh-rsa keytype. So, the error message "no matching host key type found. Their offer: ssh-rsa" is displayed. The same thing happens when I access it from my PC terminal. To solve this, I need to explicitly write "-oHostKeyAlgorithms=+ssh-rsa" in the connection options. How can I write it using which item of the input parameter? Reply please.

bsmin-grey commented 5 months ago

I checked it in the readme. I solved it with ssh-options. thank you