title: Laravel homestead after.sh unable to auto setup custom configuration
body: <p>I`m using laravel/homestead package and im trying tu set some configuration on "after.sh" file, but with no success.</p>
  
  <p>After run the command "vagrant up" i want to make the followings statments:</p>
  
  <p>1- Install sshpass dependency without asking (y/n)</p>
  
  <pre><code>sudo apt-get -y install sshpass
  </code></pre>
  
  <p>2- Create a ssh key without asking (file/password)</p>
  
  <pre><code>ssh-keygen -b 2048 -f ~/.ssh/mykeyname-t rsa -N ''
  </code></pre>
  
  <p>3- Copy the ssh id to domain without asking (password)</p>
  
  <pre><code>sshpass -p mypassword ssh-copy-id -i ~/.ssh/mykeyname user@domain
  </code></pre>
  
  <p>And when vagrant is up i want to be able to connect with comand:</p>
  
  <pre><code>ssh -i ~/.ssh/mykey user@domain
  </code></pre>
  
  <p>If all those thing i do it manually it works properly, but i want to know if is possible to create script in "after.sh" to automate it and ready to use when machine is deployed.</p>
  
  <p>I tryied to write those lines on "after.sh" but it is not ready to use when machine is deployed.</p>
  
  <p>It seems to work just to step 2 and never work on step 3.
  Can anyone help me, or tell me if this can be done?</p>
  
  <p>Thanks for awnsers, and sorry my english.</p>