Skip to content

Error: Handshake failed: no matching key exchange algorithm #519

@Filco306

Description

@Filco306

Hello,

I am trying to set this up now, but it does not seem to work. I get:

[10:09:25] Connecting: USER@IPADDRESS
Error: Handshake failed: no matching key exchange algorithm

My .remote-sync.json looks like this:

{
  "transport": "scp",
  "hostname": "IPADDRESS",
  "port": 1234,
  "username": "filco306",
  "keyfile": "/Users/filipcornell/.ssh/id_rsa",
  "passphrase": "PASSPHRASE",
  "target": "/home/USER/test_sftp",
  "ignore": [
    ".remote-sync.json",
    ".git/**"
  ],
  "watch":[
    "/index.py"
  ]
}

My key-file looks like this:

-----BEGIN RSA PRIVATE KEY-----
Proc-Type: 4,ENCRYPTED
DEK-Info: AES-128-CBC,D13774788771CE750B5C011304F638A7

....
-----END RSA PRIVATE KEY----

Would anyone know what the issue is? I am using a Macbook Pro, OS Catalina.

EDIT: I can add that my key works fine for logging in using the console.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions