###前提・実現したいこと
こんにちは。初心者の私は、現在ドットインストールを参考にしながらローカル開発環境を構築しています。
タイトルが正しい日本語になっているかもわからないくらいの初心者です。
ドットインストールのローカル環境構築[MacOS X編]の、「#04 VagrantでCentOSを立ち上げよう」
http://dotinstall.com/lessons/basic_localdev_mac/30704
まで完了し、一度ログアウトした後、再度vagrant up を実行しようとすると、
default: Warning: Authentication failure. Retrying...
が永遠に出てしまいます。
調べてみると、以下のサイトに、
http://qiita.com/megane42/items/1d8ae7444d8c1b10bbd7
「もっと面倒なケースが、事前に sshd の設定をして、パスワード認証をオフにしていた場合です。この場合、一度ログアウトしてしまうと、以下のようにログインできなくなってしまいます。こうなってしまったら、使用する秘密鍵を自前のものに設定し直しましょう」
と、答えが載っているのですが、ターミナルを初めて触る私は、「使用する秘密鍵を自前のものに設定し直す」
方法がわかりません。
自分の知識不足で大変申し訳ないのですが、なるべく初心者にも分りやすいように教えていただけるとありがたいです。
###発生している問題・エラーメッセージ
ちなみに以下がエラーメッセージです。
エラーメッセージ 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.
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2016/09/15 15:46