Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Apr 2012 10:01:02 +0100
From:      Martin Simmons <martin@lispworks.com>
To:        Yuri <yuri@rawbw.com>
Cc:        emulation@freebsd.org
Subject:   Re: VirtualBox-4.1.10 doesn't forward ports into the guests
Message-ID:  <201204030901.q33912jd020460@higson.cam.lispworks.com>
In-Reply-To: <4F79F76A.30603@rawbw.com> (message from Yuri on Mon, 02 Apr 2012 12:00:58 -0700)
References:  <4F79F76A.30603@rawbw.com>

next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> On Mon, 02 Apr 2012 12:00:58 -0700, Yuri  said:
> 
> I use these commands:
> VBoxManage setextradata MyGuest 
> "VBoxInternal/Devices/pcnet/0/LUN#0/Config/ssh/Protocol" TCP
> VBoxManage setextradata MyGuest 
> "VBoxInternal/Devices/pcnet/0/LUN#0/Config/ssh/GuestPort" 22
> VBoxManage setextradata MyGuest 
> "VBoxInternal/Devices/pcnet/0/LUN#0/Config/ssh/HostPort" 2222
> 
> They worked the first time. Then I deleted that guest, created a new one 
> with he same name. Now they don't work on this guest:
> $ ssh -p 2222 127.0.0.1
> ssh: connect to host 127.0.0.1 port 2222: Connection refused
> 
> Even though:
> $ VBoxManage getextradata MyGuest enumerate
> Key: GUI/LastCloseAction, Value: shutdown
> Key: GUI/LastGuestSizeHint, Value: 720,400
> Key: GUI/LastNormalWindowPosition, Value: 573,23,720,443
> Key: VBoxInternal/Devices/pcnet/0/LUN#0/Config/ssh/GuestPort, Value: 22
> Key: VBoxInternal/Devices/pcnet/0/LUN#0/Config/ssh/HostPort, Value: 2222
> Key: VBoxInternal/Devices/pcnet/0/LUN#0/Config/ssh/Protocol, Value: TCP

How did you delete the guest?

The extra data are stored in the MyGuest.vbox file, but possible also cached
in the vbox daemons.

__Martin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201204030901.q33912jd020460>