-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nanobox-machine fails on win redstone or win10 with native SSH #652
Comments
An easy solution seemed to be to use --native-ssh option for docker machine (so it uses go stdlib internal ssh), but it seem to be defunct on the build being shipped with nanobox (it still tries to use external SSH even with that parameter passed to it) |
System: Windows redstone internal preview December build. |
C:\WINDOWS\System32\OpenSSH\ssh.exe: Could not resolve hostname /dev/null: No such host is known. The issue is with nanobox image not providing ec25519 host key |
For now , there is a workaround: you need to compile openssh for windows by hand with RSA keys enabled at configure time, then replace the one that came from windows update with what you compiled. |
(nanobox) DBG | Checking vm logs: C:\Users\ASUS.docker\machine\machines\nanobox\nanobox\Logs\VBox.log
(nanobox) DBG | Getting to WaitForSSH function...
(nanobox) DBG | Using SSH client type: external
(nanobox) DBG | &{[-F /dev/null -o PasswordAuthentication=no -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=quiet -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none [email protected] -o IdentitiesOnly=yes -i C:\Users\ASUS.docker\machine\machines\nanobox\id_rsa -p 50748] C:\WINDOWS\System32\OpenSSH\ssh.exe }
(nanobox) DBG | About to run SSH command:
(nanobox) DBG | exit 0
(nanobox) DBG | SSH cmd err, output: exit status 255:
(nanobox) DBG | Error getting ssh command 'exit 0' : Something went wrong running an SSH command!
(nanobox) DBG | command : exit 0
(nanobox) DBG | err : exit status 255
(nanobox) DBG | output :
(nanobox) DBG |
(nanobox) DBG | Getting to WaitForSSH function...
Recent Windows versions come with native OpenSSH builds. There is no /dev/null on Windows obviously.
The text was updated successfully, but these errors were encountered: