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 port [...]
Run VirtualBox headless over an SSH session
April 9th, 2009 · No Comments
Tags: Blogroll
Virtualbox port forwarding on a Linux Host
October 17th, 2008 · No Comments
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 _required_ to be unique among the three [...]
Tags: Blogroll
















