Skip to content

Unable to negotiate with *** port ***: no matching host key type found. #49

@tarikrital

Description

@tarikrital

I run the following action but give the error below:

  • name: rsync deployments
    uses: burnett01/rsync-deployments@6.0.0
    with:
    switches: -avzr --delete
    path: ./dist/ssr/
    remote_path: ${{ vars.HOST_PATH }}
    remote_host: ${{ secrets.SSH_HOST }}
    remote_port: ${{ secrets.SSH_PORT }}
    remote_user: ${{ secrets.SSH_USER }}
    remote_key: ${{ secrets.SSH_KEY }}

Identity added: (stdin) ((stdin))
Unable to negotiate with *** port ***: no matching host key type found. Their offer: ssh-rsa,ssh-dss
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: unexplained error (code 255) at io.c(231) [sender=3.2.7]

FYI I'm able to connect via terminal from my local machine:
The successful cmd is:
ssh user@ip -pXXXXX

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions