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

Here you can discuss the universal Integrated Development Environment for OpenVMS.
Post Reply

Topic author
jrobinson
Member
Posts: 8
Joined: Fri Feb 28, 2020 1:15 pm
Reputation: 0
Status: Offline

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

Post by jrobinson » Fri Feb 28, 2020 1:24 pm

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": []
        }


sergey_vorfolomeev
VSI Expert
Valued Contributor
Posts: 98
Joined: Thu Aug 22, 2019 12:17 am
Reputation: 0
Status: Offline

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

Post by sergey_vorfolomeev » Mon Mar 02, 2020 12:36 am

Thanks. That is great!

Post Reply