remote-sync
remote-sync copied to clipboard
Error: Handshake failed: no matching key exchange algorithm
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.
I can furthermore add that this seems to be a problem with the dependency ssh2-streams.