mitchellh/vagrant — pull request #554 by lmars (2011-11-10 18:02:22+00:00)
Title: Add RemoteForward option to ssh config

I've added this so I can run commands on my local box from inside the vagrant box.

In my Vagrantfile:
config.ssh.remote_forward = '2048 localhost:22'

In my vagrant box:
ssh -p 2048 lewis@localhost 'open http://www.google.com'