Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Filco306 opened this issue Oct 6, 2020 · 1 comment
Open

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

Filco306 opened this issue Oct 6, 2020 · 1 comment

Comments

@Filco306
Copy link

Filco306 commented Oct 6, 2020

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.

@Filco306
Copy link
Author

Filco306 commented Oct 6, 2020

I can furthermore add that this seems to be a problem with the dependency ssh2-streams.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant