Often times I'd like to be able to SSH to my Vagrant box and forward X to it, without manually typing the 'ssh' command. (Having agent forwarding might be handy as well, if I want to SSH from my vagrant box to the outside world.)
If I run "vagrant ssh -X -A", it would be good if -X and -A were propagated to the underlying SSH client.
Pontillo,
This feature already exists. You just have to enable it in your Vagrantfile and it will take effect for vagrant ssh
:
config.forward_x11 = true
Cheers
Thanks, sorry for posting without looking at the code. I was just looking at ssh.rb and found that.
I still would like the command-line parameter, but this will do just fine. ;-)
I just looked up in the documentation and I think it's changed to
config.ssh.forward_x11 = true
Most helpful comment
I just looked up in the documentation and I think it's changed to