Tag Archive: Virtualbox

Run VirtualBox headless over an SSH session

When SSH’ing into a linux box, you may want to run a VM headless (that is, not dependent on the console X session). TO RDP into your windows box (assuming you are running a Windows VM over Linux), you’ll want to be sure to engage your -L port:ip-address-of-VirtualBoxHost:port, port forwarding. Assuming you have VirtualBox remote …

Continue reading »

Virtualbox port forwarding on a Linux Host

An excellent article on the subject: Source. Run these 3 commands from shell. SUDO not required. VBoxManage setextradata “name of vm” “VBoxInternal/Devices/pcnet/0/LUN#0/Config/ssh/HostPort” 2222 VBoxManage setextradata “name of vm” “VBoxInternal/Devices/pcnet/0/LUN#0/Config/ssh/GuestPort” 22 VBoxManage setextradata “name of vm” “VBoxInternal/Devices/pcnet/0/LUN#0/Config/ssh/Protocol” TCP Where… “name of vm” is your virtual machine name ssh is the name of the service. This is …

Continue reading »