2016-10-09 2 views
1
Net::SSH::ConnectionTimeout> 
INFO subprocess: Starting process: ["C:/Program Files/Oracle/VirtualBox/VBoxManage.exe", "showvminfo", "a1035534-3544-40d1-a701-92e34436606b", "--machinereadable"] 
INFO subprocess: Command not in installer, restoring original environment... 
INFO subprocess: Starting process: ["C:/Program Files/Oracle/VirtualBox/VBoxManage.exe", "showvminfo", "a1035534-3544-40d1-a701-92e34436606b", "--machinereadable"] 
INFO subprocess: Command not in installer, restoring original environment... 
INFO ssh: Attempting SSH connection... 
INFO ssh: Attempting to connect to SSH... 
INFO ssh: - Host: 127.0.0.1 
INFO ssh: - Port: 2222 
INFO ssh: - Username: vagrant 
INFO ssh: - Password? false 
INFO ssh: - Key Path: ["C:/Users/myuser/.vagrant.d/insecure_private_key"] 
INFO subprocess: Starting process: ["C:/Program Files/Oracle/VirtualBox/VBoxManage.exe", "showvminfo", "a1035534-3544-40d1-a701-92e34436606b", "--machinereadable"] 
INFO subprocess: Command not in installer, restoring original environment... 
INFO subprocess: Starting process: ["C:/Program Files/Oracle/VirtualBox/VBoxManage.exe", "showvminfo", "a1035534-3544-40d1-a701-92e34436606b", "--machinereadable"] 
INFO subprocess: Command not in installer, restoring original environment... 
INFO subprocess: Starting process: ["C:/Program Files/Oracle/VirtualBox/VBoxManage.exe", "showvminfo", "a1035534-3544-40d1-a701-92e34436606b", "--machinereadable"] 
INFO subprocess: Command not in installer, restoring original environment... 
INFO subprocess: Starting process: ["C:/Program Files/Oracle/VirtualBox/VBoxManage.exe", "showvminfo", "a1035534-3544-40d1-a701-92e34436606b", "--machinereadable"] 
INFO subprocess: Command not in installer, restoring original environment... 
INFO subprocess: Starting process: ["C:/Program Files/Oracle/VirtualBox/VBoxManage.exe", "showvminfo", "a1035534-3544-40d1-a701-92e34436606b", "--machinereadable"] 
INFO subprocess: Command not in installer, restoring original environment... 
INFO subprocess: Starting process: ["C:/Program Files/Oracle/VirtualBox/VBoxManage.exe", "showvminfo", "a1035534-3544-40d1-a701-92e34436606b", "--machinereadable"] 
INFO subprocess: Command not in installer, restoring original environment... 
INFO subprocess: Starting process: ["C:/Program Files/Oracle/VirtualBox/VBoxManage.exe", "showvminfo", "a1035534-3544-40d1-a701-92e34436606b", "--machinereadable"] 
INFO subprocess: Command not in installer, restoring original environment... 
INFO subprocess: Starting process: ["C:/Program Files/Oracle/VirtualBox/VBoxManage.exe", "showvminfo", "a1035534-3544-40d1-a701-92e34436606b", "--machinereadable"] 
INFO subprocess: Command not in installer, restoring original environment... 
INFO subprocess: Starting process: ["C:/Program Files/Oracle/VirtualBox/VBoxManage.exe", "showvminfo", "a1035534-3544-40d1-a701-92e34436606b", "--machinereadable"] 
INFO subprocess: Command not in installer, restoring original environment... 
INFO subprocess: Starting process: ["C:/Program Files/Oracle/VirtualBox/VBoxManage.exe", "showvminfo", "a1035534-3544-40d1-a701-92e34436606b", "--machinereadable"] 
INFO subprocess: Command not in installer, restoring original environment... 
INFO subprocess: Starting process: ["C:/Program Files/Oracle/VirtualBox/VBoxManage.exe", "showvminfo", "a1035534-3544-40d1-a701-92e34436606b", "--machinereadable"] 
INFO subprocess: Command not in installer, restoring original environment... 
INFO subprocess: Starting process: ["C:/Program Files/Oracle/VirtualBox/VBoxManage.exe", "showvminfo", "a1035534-3544-40d1-a701-92e34436606b", "--machinereadable"] 
INFO subprocess: Command not in installer, restoring original environment... 
INFO subprocess: Starting process: ["C:/Program Files/Oracle/VirtualBox/VBoxManage.exe", "showvminfo", "a1035534-3544-40d1-a701-92e34436606b", "--machinereadable"] 
INFO subprocess: Command not in installer, restoring original environment... 
INFO ssh: SSH not ready: #<Vagrant::Errors::NetSSHException: An error occurred in the underlying SSH library that Vagrant uses. 
The error message is shown below. In many cases, errors from this 
library are caused by ssh-agent issues. Try disabling your SSH 
agent or removing some keys and try again. 

If the problem persists, please report a bug to the net-ssh project. 

나는 모든 가능한 해결책을 시도했지만 아무 것도 작동하지 않습니다. 실제 가상 머신이 시작되면 가상 박스에서 로그인 할 수도 있습니다. versinoHomestead on Windows 10 기본값 : SSH 인증 방법 : 개인 키

가상 상자 : 5.1.6 방랑 버전 : 1.8.6 OS : 윈도우 10

방랑 최대 단지 SSH의 인증 방법을 표시 한 후 밖으로 달려 및 시간 : 개인 키. 로그를 붙여 넣었습니다. 어떤 아이디어?

+0

확인 했습니까? http://stackoverflow.com/questions/9885108/ssh-to-vagrant-box-in-windows/9924122#9924122 –

+0

예, 내 문제와 관련이 없으며 100 % 막혔습니다. – foobaz256

답변

0

이 방법으로 문제가 해결되는지 모르지만 개인 키 대신 암호 vagrant을 사용하여 VM에 ssh를 시도 할 수 있습니다.