Virtual machine 如何使用VBoxManage通过ssh使IP连接到主机?
我使用以下命令创建了一个新VM:Virtual machine 如何使用VBoxManage通过ssh使IP连接到主机?,virtual-machine,virtualbox,virtualhost,virtualization,vbox,Virtual Machine,Virtualbox,Virtualhost,Virtualization,Vbox,我使用以下命令创建了一个新VM: vboxmanage creative --name ubuntu1604 --ostype Ubuntu_64 --register vboxmanage modifyvm ubuntu1604 --cpus 1 --memory 512 --audio none --usb off --acpi on --boot1 dvd --nic1 nat vboxmanage createhd --filename /home/eax/virtualbox/ubun
vboxmanage creative --name ubuntu1604 --ostype Ubuntu_64 --register
vboxmanage modifyvm ubuntu1604 --cpus 1 --memory 512 --audio none --usb off --acpi on --boot1 dvd --nic1 nat
vboxmanage createhd --filename /home/eax/virtualbox/ubuntu1604/ubuntu1604.vdi --size 10000
vboxmanage storagectl ubuntu1604 --name ide-controller --add ide
vboxmanage storageattach ubuntu1604 --storagectl ide-controller --port 0 --device 0 --type hdd --medium /home/eax/virtualbox/ubuntu1604/ubuntu1604.vdi
vboxmanage storageattach ubuntu1604 --storagectl ide-controller --port 0 --device 1 --type dvddrive --medium /home/eax/data/iso/ubuntu-16.04.1-server-amd64.iso
我使用以下命令启动主机:
vboxmanage startvm --type headless ubuntu1604
然后,我使用GUI虚拟盒进入虚拟机。我进入安装程序
我认为操作系统已经完全安装好了,希望看到控制台
当主机处于这种状态时,我可以通过ssh连接到主机吗