LoginSignup
0
0

More than 5 years have passed since last update.

Mac版Vagrant 1.8.5起動時のエラー回避

Posted at

Mac版Vagrant 1.8.5起動時のエラー回避

なにやら自宅のMacで久々にVagrantを新規で立ち上げた所
Warning: Authentication failure. Retrying...
と永遠と出力され続けるエラーにでくわしてしまった。。

メンドクセー気持ちを抑えつつググる。
Vagrant 1.8.5でLinux boxをvagrant upするとエラーが出る件について
まとめられてる記事を発見!
1.8.5のバグなのね。。。

なにやらpublic_key.rbに追記してあげないといけないそうで。探すのも面倒なので下記コマンドで検索。
sudo find / -name public_key.rb
なんか2つでてきたけど正解は
gems/gems/vagrant-1.8.5/plugins/guests/linux/cap/public_key.rb
こっち。
っで下記の行を探して
56行目mv ~/.ssh/authorized_keys.tmp ~/.ssh/authorized_keys
下記を追記
+ chmod 0600 ~/.ssh/authorized_keys

おわり。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0