Closed
Description
"OpenSSH for Windows" version
0.0.10.0
OS details
Windows 10 Pro
What is failing
A detailed description of the issue is in the docker/machine repo @ docker/machine#4053.
The summary is that when OpenSSH is installed on Windows 10 the docekr-machine tries to use it to communicate with the Hyper-V VMs it creates and manages, and the Win32 OpenSSH implementation fails.
Repro steps are
- Install Windows Docker toolkit
- Install OpenSSH following the guidelines at https://github.com/PowerShell/Win32-OpenSSH/wiki/Install-Win32-OpenSSH, including adding it to the Path
- In Hyper-V Manager create (if you don’t have one) a Virtual Switch and connect it to an external network device (either the WiFi card or local network card)
- Start Docker
- Execute “docker-machine -debug create -d hyperv --hyperv-virtual-switch ” command
The last command hangs when the docker-machine tries to open an SSH connection to the newly created VM.
Cheers, Wojtek