php - Laravel Homestead -


i'm trying laravel homestead , running. believe did manual says. when run vagrant -command following error on os x 10.9:

my homestead.yaml file following:

--- authorize: /users/foo/.ssh/id_rsa.pub  keys:     - /users/foo/.ssh/id_rsa.pub  folders:     - map: /users/foo/projects       to: /home/vagrant  sites:     - map: site.dev       to: /home/vagrant/site/public 

and while executing vagrant up:

bringing machine 'default' 'virtualbox' provider... ==> default: box 'laravel/homestead' not found. attempting find , install...     default: box provider: virtualbox     default: box version: >= 0 ==> default: loading metadata box 'laravel/homestead'     default: url: https://vagrantcloud.com/laravel/homestead ==> default: adding box 'laravel/homestead' (v0.1.6) provider: virtualbox     default: downloading: https://vagrantcloud.com/laravel/homestead/version/7/provider/virtualbox.box ==> default: added box 'laravel/homestead' (v0.1.6) 'virtualbox'! ==> default: importing base box 'laravel/homestead'... ==> default: matching mac address nat networking... ==> default: checking if box 'laravel/homestead' date... ==> default: setting name of vm: homestead_default_1400312360757_29263 ==> default: clearing set network interfaces... ==> default: preparing network interfaces based on configuration...     default: adapter 1: nat     default: adapter 2: hostonly ==> default: forwarding ports...     default: 80 => 8000 (adapter 1)     default: 3306 => 33060 (adapter 1)     default: 5432 => 54320 (adapter 1)     default: 22 => 2222 (adapter 1) ==> default: running 'pre-boot' vm customizations... ==> default: booting vm... ==> default: waiting machine boot. may take few minutes...     default: ssh address: 127.0.0.1:2222     default: ssh username: vagrant     default: ssh auth method: private key     default: warning: connection timeout. retrying... ==> default: machine booted , ready! ==> default: checking guest additions in vm... ==> default: setting hostname... ==> default: configuring , enabling network interfaces... ==> default: mounting shared folders...     default: /vagrant => /users/foo/homestead     default: /home/vagrant => /users/foo/projects ==> default: running provisioner: shell...     default: running: inline script ==> default: tee:  ==> default: /home/vagrant/.ssh/authorized_keys ==> default: : no such file or directory ==> default: ssh-rsa aaaab3nzac1yc2eaaaadaqabaaabaqdkjjdxl7bdrlsq453fsdoe7jzxk5x7b5xxeiqxs2xitj1dihtivbnns71aflany+k2ev4seazibprrznz99pnvd8xujwscuzzzgau/asbqgdunuqu4wa047xhg28uhlfznm/x3kmmsc73qtybyudfadtaz2sjhwcbkatmpu8aswoatkndtg+0qlql6yfihav5tn8dlbrhwwovpbcru8aopg+7jgvphghaidq/1smgclot9palzv333s9b8f/qcm4zc6srfcvdkriygsutynptrklrxm8oox8/r6kvpxd6d6ss5e0+rdwgdxcthc2/pqwaz/b76pa7fxzlt9ldx7zar foo@bar.com following ssh command responded non-zero exit status. vagrant assumes means command failed!  chmod +x /tmp/vagrant-shell && /tmp/vagrant-shell "ssh-rsa aaaab3nzac1yc2eaaaadaqabaaabaqdkjjdxl7bdrlsq453fsdoe7jzxk5x7b5xxeiqxs2xitj1dihtivbnns71aflany+k2ev4seazibprrznz99pnvd8xujwscuzzzgau/asbqgdunuqu4wa047xhg28uhlfznm/x3kmmsc73qtybyudfadtaz2sjhwcbkatmpu8aswoatkndtg+0qlql6yfihav5tn8dlbrhwwovpbcru8aopg+7jgvphghaidq/1smgclot9palzv333s9b8f/qcm4zc6srfcvdkriygsutynptrklrxm8oox8/r6kvpxd6d6ss5e0+rdwgdxcthc2/pqwaz/b76pa7f5zlx9ldx7zar foo@bar.com "  stdout command:  ssh-rsa aaaab3nzac1yc2eaaaadaqabaaabaqdkjjdxl7bdrlsq453fsdoe7jzxk5x7b5xxeiqxs2xitj1dihtivbnns71aflany+k2ev4seazibprrznz99pnvd8xujwscuzzzgau/asbqgdunuqu4wa047xhg28uhlfznm/x3kmmsc73qtybyudfadtaz2sjhwcbkatmpu8aswoatkndtg+0qlql6yfihav5tn8dlbrhwwovpbcru8aopg+7jgvphghaidq/1smgclot9palzv333s9b8f/qcm4zc6srfcvdkriygsutynxtrklrxm8oor8/r6kvpxd6d6sx5e0+rdwgdxcthc2/pqwaz/b76pa7f5zlt9ldxxzar foo@bar.com   stderr command:  tee: /home/vagrant/.ssh/authorized_keys: no such file or directory 

map projects directory else /home/vagrant:

folders: - map: /users/foo/projects   to: /home/vagrant/projects 

this should fix problem , don't want vagrant's config files (.ssh, .bashrc, etc) synced local projects directory anyway.

also keys property should set private key, not public.


Comments

Popular posts from this blog

how to proxy from https to http with lighttpd -

android - Automated my builds -

python - Flask migration error -