Virtualbox, oui mais sans (prise de) tête !
It may be interesting to have a Linux machine within range of SSH that is always available and that is windowless, i.e. running in headless mode .
For example, under MacOS, you can have Linux tools without being cluttered with a window associated with this Linux.
The advantage is to run a VM in the background without using a lot of memory.
There are two distinct parts to master:
start and stop the VM in command line mode;
allow connection by SSH from the host to this VM. To know the name of the VM:
To launch the vm, here called myvm:
Then, we can do Port Forwarding to reach the VM from the host:
Finally, if you want to properly shut down the VM:
If we want to ensure access to the VM is possible:
To connect via SSH:
read other posts