Support the ongoing development of Laravel.io →
Installation Configuration

Hi,

I'm trying to use Laravel Homestead for a Laravel 4.2.9 project. Here's what I'm running:

  • Windows 8.1 64-bit
  • VirtualBox 4.3.17
  • Vagrant 1.6.5
  • Latest Homestead version

When running the box with vagrant up for the first time or issuing the vagrant provision command, I get this:

==> default: Running provisioner: shell...
    default: Running: inline script
==> default: /tmp/vagrant-shell: line 1: /home/vagrant/.ssh/$2: ambiguous redirect
The SSH command responded with a non-zero exit status. Vagrant
assumes that this means the command failed. The output for this command
should be in the log above. Please read the output to determine what
went wrong.

Contents of /tmp/vagrant-shell on the box:

echo "$1" > /home/vagrant/.ssh/$2 && chmod 600 /home/vagrant/.ssh/$2

This seems to be affecting nginx configuration as there is no default server conf and it's not listening on port 80 as expected. Presumably the provisioning script would handle that if it was able to proceed.

Any ideas?

Last updated 3 years ago.
0
Solution
Last updated 3 years ago.
0

Sign in to participate in this thread!

PHPverse

Your banner here too?

Riari riari Joined 20 Sep 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.