User Tools

Site Tools


configure_linux:unix_ssh_for_openvms

Here's the error your newer 'ssh' client will spout once it's been upgraded and tries to talk to a VMS system:

Unable to negotiate with 10.217.6.5 port 22: no matching key exchange method found. Their offer: diffie-hellman-group1-sha1

If you see this, you have two choices. You can either upgrade the ssh server on the VMS side (once they release a newer version) or you can add some lines to your client-side ssh config (usually $HOME/.ssh/config) that look like this:

HostkeyAlgorithms ssh-dss,ssh-rsa
KexAlgorithms +diffie-hellman-group1-sha1

This will re-enable the key exchange for DH sha1 and fix the issue until they drop the algorithm completely (not likely to happen anytime soon).

configure_linux/unix_ssh_for_openvms.txt · Last modified: 2021/11/30 22:53 by williams

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki