Hey there!
This is Tharun here. Most of us would have wanted to use the VirtualBox without GUI, with the use of SSH. In this Article, I introduce you to a way you can launch VirtualBox without GUI and connect to it using SSH.
What is VirtualBox?
The VirtualBox is a software that can be used to run multiple operating systems on your own operating system and effortlessly switch between them, create snapshots, delete them, restore them on the fly.
We all have wondered if we had an easier way to access our VirtualBox Machines. In this tutorial, we will look at how you can launch the VirtualBox without a GUI and SSH into your VirtualBox machine. This will prevent you to have to open your VirtualBox GUI to do everything. (duh!)
How to launch without GUI?
Step 1: Open VirtualBox
Step 2: Right click on the virtual machine that you want to open and start it in Headless start mode.
Step 3: No more steps. Time to connect to the machine using SSH.
How to connect to the machine using SSH?
Easy way to SSH into VirtualBox machine | Any OS
Tharun Shiv ・ Jul 12 '20 ・ 2 min read
Hope this article helped. Give this article a like, unicorn, and save it for later. Share it with your friends and let them know this useful trick.
My Blog: https://www.tharunshiv.com
Written by,
Top comments (2)
Another option in this space that you might want to investigate is Vagrant which supports (among others) Virtualbox as the VM provider. What vagrant allows you to do is to define the VM setup as code allowing you to create reproducable, consistent development environments that then gives you the benefit of being able to blow away the environment when you wish. Vagrant as a rule starts your VM in headless mode all from the command line.
Yes that's right. Thanks for sharing it with us. 🙂