For When You Can't Have The Real Thing
[ start | index | login ]
start > Fedora > 35 > SSH No Key Exchange method found

SSH No Key Exchange method found

Created by dave. Last edited by dave, one year and 137 days ago. Viewed 460 times. #1
[edit] [rdf]
labels
attachments
(2022-11-02)

Problem

# ssh 192.168.2.91
Unable to negotiate with 192.168.2.91 port 22: no matching key exchange method found. Their offer: diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1,diffie-hellman-group14-sha1

Solution

Add one of the presented options:

# ssh -oKexAlgorithms=+diffie-hellman-group14-sha1 192.168.2.91
The authenticity of host '192.168.2.91 (192.168.2.91)' can't be established.
[...]
no comments | post comment
This is a collection of techical information, much of it learned the hard way. Consider it a lab book or a /info directory. I doubt much of it will be of use to anyone else.

Useful:


snipsnap.org | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt