Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Friday, March 16, 2018 12:11 AM
So, there are three computers I am troubleshooting with:
(1) Windows 10 OS located on a VM - running openSSH Server
(1) Windows 10 computer - running openSSH Client and PUTTY
(1) Macbook Pro laptop
The goal is to be able to SSH into the Windows 10 computer located on the VM --
I have successfully been able to connect to the VM from my Macbook Pro, and I have also been able to successfully connect to the VM from PUTTY on the other windows machine, but I am not able to connect to the VM using openSSH Client.
I am currently getting the following error:
PS C:\Windows\System32\OpenSSH> ssh [email protected]
Unable to negotiate with xxx.xx.xx.xx port 22: no matching key exchange method found. Their offer: ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1
PS C:\Windows\System32\OpenSSH>
It appears that there is plenty of documentation available for when you are experiencing this on Mac/Linux but it requires editing the ssh_config file, unfortunately the Linux/Mac version is very very different than the windows version.
All replies (3)
Friday, March 16, 2018 1:13 AM
It says that the client and the server are not able to find a matching key exchange method. You mainly need to make sure that the client can use one of the following, which is offered by the server:
ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1
As this is not a Microsoft tool, I would advise to ask them in the tool forum for further assistance.
This posting is provided AS IS with no warranties or guarantees , and confers no rights.
Ahmed MALEK
Friday, March 16, 2018 5:34 PM
It says that the client and the server are not able to find a matching key exchange method. You mainly need to make sure that the client can use one of the following, which is offered by the server:
ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1
As this is not a Microsoft tool, I would advise to ask them in the tool forum for further assistance.
....
openSSH is a beta feature for Windows 10, it is indeed a Microsoft tool (in beta form).
After enabling developer features under the "updates and security" area for settings, you are able to go over to "apps and features" and select "manage optional features" - this makes two optional beta features available to download, openSSH Server and openSSH Client. I understand that this is something that began on Unix, but it is a project being brought under the wing of Microsoft for use in Windows 10, this is likely the right home for this question, to post it anywhere else (like stack overflow) will be met with heart burn.
Saturday, March 17, 2018 1:06 PM
openSSH is a beta feature for Windows 10, it is indeed a Microsoft tool (in beta form).
https://docs.microsoft.com/en-us/azure/virtual-machines/linux/ssh-from-windows
(BING search for
openSSH site:docs.microsoft.com
)
Another possible search (with some more refinement) will be
(BING search for
openSSH site:blogs.technet.microsoft.com
)
Robert Aldwinckle