Virtualbox Tips
Start VirtualBox in Headless Mode
VBoxHeadless -s Ubuntu-11.10
SSH Into Local Linux VBox
VBoxManage setextradata Ubuntu-11.10 "VBoxInternal/Devices/pcnet/0/LUN#0/Config/ssh/HostPort" 2222
VBoxManage setextradata Ubuntu-11.10 "VBoxInternal/Devices/pcnet/0/LUN#0/Config/ssh/GuestPort" 22
VBoxManage setextradata Ubuntu-11.10 "VBoxInternal/Devices/pcnet/0/LUN#0/Config/ssh/Protocol" TCP
VBoxManage getextradata Ubuntu-11.10 enumerate
If you receive an error on start then check the network card network settings on your virtual box. Your adapter will most likely need to be set to PCnet-PCI II (NAT).
ssh vboxuser@localhost -p 2222
Related Links
Configuring SSH access for VirtualBox Guest Host
Home