in my Work PC, it gives me the follow " Unable to negotiate with [ip address] port 22: no matching key exchange method found. their offer: diffle-hellman-group1-shal "
in my Local Pc to my VM channel 2: open failed: connect failed: Connection refused
in my Work PC, it gives me the follow " Unable to negotiate with [ip
address] port 22: no matching key exchange method found. their offer:
diffle-hellman-group1-shal "
in my Local Pc to my VM channel 2: open failed: connect failed: Connection
refused
Sounds to me like you have an outdated version of either the SSH client or
server (or possibly even both) here.
what should i do ?
Update both the server’s SSH daemon, and the work and local PCs’ (it sounds
like these are two different machines?) SSH clients to current versions and try
again.
I am using my Desktop PC windows ( My own laptop) and i am trying to make a remote access to my Ubunte Server ( VM which is hosts in my laptop) VM ip address is 10.10.10.100
My desktop pc ssh version is OpenSSH_7.4p1, OpenSSL 1.0.2j 26 Sep 2016
OpenSSH_7.6p1 Ubuntu-4ubuntu0.3, OpenSSL 1.0.2n 7 Dec 2017
and from My Work desktop which is OpenSSH_for_Windows_7.7p1, LibreSSL 2.6.5
and Secure Server which is redhat is OpenSSH_7.4p1, OpenSSL 1.0.2k-fips
From that information, it sounds as though the problem is the configuration
(not the version) of SSH between the client and the server.
The error message “no matching key exchange method found. their offer: diffle-
hellman-group1-sha1” makes me think the server has been configured with a
highly-specific key exchange method, so you need to ensure that your client
will offer that method too.