From owner-freebsd-emulation@FreeBSD.ORG Tue Apr 3 09:12:15 2012 Return-Path: Delivered-To: emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3F968106566B for ; Tue, 3 Apr 2012 09:12:15 +0000 (UTC) (envelope-from martin@lispworks.com) Received: from lwfs1-cam.cam.lispworks.com (mail.lispworks.com [193.34.186.230]) by mx1.freebsd.org (Postfix) with ESMTP id C89438FC08 for ; Tue, 3 Apr 2012 09:12:14 +0000 (UTC) Received: from higson.cam.lispworks.com (higson [192.168.1.7]) by lwfs1-cam.cam.lispworks.com (8.14.3/8.14.3) with ESMTP id q33913p3040156; Tue, 3 Apr 2012 10:01:03 +0100 (BST) (envelope-from martin@lispworks.com) Received: from higson.cam.lispworks.com (localhost.localdomain [127.0.0.1]) by higson.cam.lispworks.com (8.14.4) id q33912F9020463; Tue, 3 Apr 2012 10:01:02 +0100 Received: (from martin@localhost) by higson.cam.lispworks.com (8.14.4/8.14.4/Submit) id q33912jd020460; Tue, 3 Apr 2012 10:01:02 +0100 Date: Tue, 3 Apr 2012 10:01:02 +0100 Message-Id: <201204030901.q33912jd020460@higson.cam.lispworks.com> From: Martin Simmons To: Yuri In-reply-to: <4F79F76A.30603@rawbw.com> (message from Yuri on Mon, 02 Apr 2012 12:00:58 -0700) References: <4F79F76A.30603@rawbw.com> Cc: emulation@freebsd.org Subject: Re: VirtualBox-4.1.10 doesn't forward ports into the guests X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Apr 2012 09:12:15 -0000 >>>>> 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