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 :( -- 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