2017-03-27 15 views
0

はこの1つを解決する本当の苦労して:ベイグラント - デフォルト:SSHの認証方法:秘密鍵タイムアウト

私は「放浪アップ」しようとしていると私はポイントに到達するまで、すべてがOKと思われる:

==> default: The cookbook path 'C:/home/webs/cookbooks' doesn't exist. Ignoring... 
==> default: Clearing any previously set network interfaces... 
==> default: Preparing network interfaces based on configuration... 
    default: Adapter 1: nat 
    default: Adapter 2: hostonly 
==> default: Forwarding ports... 
    default: 80 (guest) => 8081 (host) (adapter 1) 
    default: 22 (guest) => 2222 (host) (adapter 1) 
==> default: Running 'pre-boot' VM customizations... 
==> default: Booting VM... 
==> default: Waiting for machine to boot. This may take a few minutes... 
    default: SSH address: 127.0.0.1:2222 
    default: SSH username: vagrant 
    default: SSH auth method: private key 
Timed out while waiting for the machine to boot. This means that 
Vagrant was unable to communicate with the guest machine within 
the configured ("config.vm.boot_timeout" value) time period. 

If you look above, you should be able to see the error(s) that 
Vagrant had when attempting to connect to the machine. These errors 
are usually good hints as to what may be wrong. 

If you're using a custom box, make sure that networking is properly 
working and you're able to connect to the machine. It is a common 
problem that networking isn't setup properly in these boxes. 
Verify that authentication configurations are also setup properly, 
as well. 

If the box appears to be booting properly, you may want to increase 
the timeout ("config.vm.boot_timeout") value. 

構成:

Vagrant 1.8.7 

プラグイン:

vagrant-berkshelf (5.1.1) 
vagrant-hostmanager (1.8.5) 
vagrant-share (1.1.6, system) 
vagrant-triggers (0.5.3) 
vagrant-vsphere (1.12.0) 
使用して

:私がこれまで試したどのような

Oracle Virtual Box v5.1.8 
Chef v1.1.16 
Windows-7 

:仮想化が有効になっている場合

  1. チェック。
  2. [.vagrant.d、.VirtualBox] [ここに画像の説明を入力してください] 1のフォルダを削除し、すべてのプラグインを再度インストールしてください。
  3. guiをtrueに設定して実行すると、内部に.sshフォルダは表示されません。
  4. ファイアウォールをオフにします。

私は同じバージョンを持ち、うまく動作する他のコンピュータを使用してください。だから私は比較することができます。私はここから続けるための手がかりはもうありません。

+1

あなたのVMに '.ssh'フォルダはありません。フォルダとauthorized_keysファイルが必要です。許可があればエラーになることがありますが、迷惑行為はファイルをプッシュする必要があります –

答えて

0

解決策を見つけました:Web Companion Lavasoftという名前のプログラムがssh通信の作成をブロックしていました。

関連する問題