Using port redirection, I am able to access the ssh server in the guest system, using the port 60022 in the Windows machine, doing:
Code: Select all
VBoxManage setextradata oracle32 "VBoxInternal/Devices/pcnet/0/LUN#0/Config/ssh/Protocol" TCP
VBoxManage setextradata oracle32 "VBoxInternal/Devices/pcnet/0/LUN#0/Config/ssh/GuestPort" 22
VBoxManage setextradata oracle32 "VBoxInternal/Devices/pcnet/0/LUN#0/Config/ssh/HostPort" 60022
This happens when the machine is saved, and, once it is restored, all network traffic to the guest is lost.
The same scenario happens by accessing the 'Devices/Network adapters' and disconnecting the cable / reconnecting it: the Windows host is unable to access the guest anymore. While I don't do this ever, saving the machine and restoring it later is a usual action.