0

Am I obliged to use SSH in order to open a terminal towards my Vagrant VM?

Is there any other way?

5
  • What's wrong with SSH and what do you want instead? I'm asking this because this question would be far more practical if asked as "How to connect to a Vagrant VM through <...>?" It likely depends on a box used though...
    – D-side
    Commented Oct 26, 2014 at 12:35
  • I dont know, it just feels weird to have multiple SSH tabs open - that's my use case, I got a node.js server which blocks my terminal when I run it, and then I gotta open a new terminal and re-SSH to the VM. I guess it's not a problem but I'm wondering if I can launch some remote console or something Commented Oct 26, 2014 at 13:43
  • 1
    You can have multiple tabs in control of one SSH session, look at screen, tmux and byobu. I use byobu myself.
    – D-side
    Commented Oct 26, 2014 at 14:11
  • You can do anything you like with your VM. It's a normal virtual machine running, so you can telnet it, run it with a gui or do whatever you do on other servers. I personally stick to ssh with tmux, having two or three ssh connections to my box open beside each other. Commented Oct 27, 2014 at 9:28
  • just to specify my HOST os is OSX and my VM is a headless VM (no Gui) Commented Oct 27, 2014 at 9:51

1 Answer 1

1

You can enable GUI for your VM.

config.vm.provider "virtualbox" do |v|
  v.gui = true
end
1
  • wouldn't that complicate things / make the VM heavier, slower? Commented Oct 27, 2014 at 20:43

Not the answer you're looking for? Browse other questions tagged or ask your own question.