Vagrant SSHFS plugin

01 Dec 2013

[ Vagrant ]

Vagrant supports NFS by default to mount host directories in the client machine. In some situations that won’t work well, so I developed an SSH file system plugin for it.

Basically, you have to install it and configure the mounted folders:

vagrant plugin install vagrant-sshfs

In the VagrantFile:

config.sshfs.paths = { "src" => "mountpoint" }

That will mount the src folder in the virtual box into the mountpoint folder in the host machine.

More information is available in the plugin README file.