Page 1 of 1

client error: Error: Handshake failed: no matching client->server cipher

Posted: Fri Feb 28, 2020 1:24 pm
by jrobinson
Hello. I'm trying to configure VMS IDE but running into issues at the "upload/synchronize" step. I can successfully connect to VMS w/SSH by pressing "control-F6", but when I try and use the upload or synchronize commands I get the output error -

Code: Select all

client error: Error: Handshake failed: no matching client->server cipher
Cannot find files on remote source
Synchronizing failed [SerialGateway]
Any ideas what could be wrong?

Initially I was having trouble even connecting to SSH but added this to my Windows .ssh config file seems to have corrected that. Should this be inside the "algorithms" section of the ssh-helper-settings.json instead?

Code: Select all

Host 10.187.252.22
	KexAlgorithms +diffie-hellman-group1-sha1
	ciphers +aes128-cbc

Below is my ssh-helper-settings.json

Code: Select all

{
    "connection": {
        "host": "10.*.*.*",
        "keyFile": "",
        "password": "mypass",
        "port": 22,
        "username": "myusername",
        "skipSignatureVerification": false,
        "algorithms": {
            "kex": [],
            "cipher": [],
            "serverHostKey": [],
            "hmac": [],
            "compress": []
        }
    },
    "host-collection": {
        "hosts": []
    },
    "timeouts": {
        "cmdTimeout": 0,
        "feedbackTimeout": 0,
        "welcomeTimeout": 0
    },
    "terminal": {
        "command": ""
    }
}
Added in 29 minutes 41 seconds:
I think I figured it out. Updating the "algorithms" section to the following allowed the upload to succeed.

Code: Select all

"algorithms": {
            "kex": ["diffie-hellman-group1-sha1"],
            "cipher": ["aes128-cbc"],
            "serverHostKey": [],
            "hmac": [],
            "compress": []
        }

Re: client error: Error: Handshake failed: no matching client->server cipher

Posted: Mon Mar 02, 2020 12:36 am
by sergey_vorfolomeev
Thanks. That is great!