Skip to content

Instantly share code, notes, and snippets.

@2tunnels
Created August 20, 2013 16:35
Show Gist options
  • Select an option

  • Save 2tunnels/6283881 to your computer and use it in GitHub Desktop.

Select an option

Save 2tunnels/6283881 to your computer and use it in GitHub Desktop.
Vagrant issue: The following SSH command responded with a non-zero exit status.
Error message:
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!
mount -t vboxsf -o uid=`id -u vagrant`,gid=`id -g vagrant` /vagrant /vagrant
Stdout from the command:
Stderr from the command:
stdin: is not a tty
/sbin/mount.vboxsf: mounting failed with the error: No such device
Solution (run commands on guest machine):
sudo apt-get install dkms
sudo /etc/init.d/vboxadd setup
Then reload VM.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment