lauantai 30. lokakuuta 2010

Using ssh to contact guest operating system in VirtualBox

From manual, page 82 '6.3.1 Configuring port forwarding with NAT'
VBoxManage modifyvm "VM name" --natpf1 "guestssh,tcp,,2222,,22"
--natpf1 is the number of interface used for NAT'ing between host and guest operating system. After this you can just 'ssh -l username_on_guest -p 2222 hostsystem'

Ei kommentteja :

Lähetä kommentti