On Thu, 28 May 2009, Richard Kuhns wrote: > Daniel O'Connor wrote: > > On Thu, 28 May 2009, Richard Kuhns wrote: > >> NAT host port 2222 to ssh (22) in virtual machine 'psyche'. > >> Do this while the VM isn't running. > >> > >> $ VBoxManage setextradata psyche \ > >> > >> "VBoxInternal/Devices/pcnet/0/LUN#0/Config/guestssh/Protocol" TCP > >> $ VBoxManage setextradata psyche \ > >> > >> "VBoxInternal/Devices/pcnet/0/LUN#0/Config/guestssh/GuestPort" 22 > >> $ VBoxManage setextradata psyche \ > >> > >> "VBoxInternal/Devices/pcnet/0/LUN#0/Config/guestssh/HostPort" 2222 > >> > >> Now you can just 'ssh -p 2222 localhost' to get into that > >> particular VM. > > > > Ah that is nice, however I picked the Intel controller.. How do I > > work out the magic name for that? getextradata doesn't list > > anything :( > > s/pcnet/e1000/ Ahah, I tried 82540EM.. > According to the user manual, anyhow. So far the only VMs I've I guess I should read that :) > created are running XP and a couple of Linux distros, and I haven't > changed controllers. I put Windows in one and I though an e1000 would be nicer, although I must confess I've hardly thrashed it :) > I'll say again that this port has really been a godsend. I've used > VMware Workstation on Windows XP in the past, but being able to stick > to FreeBSD has greatly simplified my life. Now my Windoze box can go > back to being used for the occasional game, as God intended. Heh indeed, it's handy. Good for running some legacy code too.. -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:48 UTC