From owner-freebsd-questions@FreeBSD.ORG Wed Aug 31 03:48:21 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ED10B16A41F for ; Wed, 31 Aug 2005 03:48:21 +0000 (GMT) (envelope-from nikolas.britton@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.192]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7EB9B43D49 for ; Wed, 31 Aug 2005 03:48:21 +0000 (GMT) (envelope-from nikolas.britton@gmail.com) Received: by wproxy.gmail.com with SMTP id 36so43414wra for ; Tue, 30 Aug 2005 20:48:20 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=h6FGVcE3CXImuci4X1VOtMzAroTSmKplVuvFSqNF56DPmlujCguvSfncc83VNvJ0+sKFBlrZLMz67ojzbShYSTI+qtBxCKMR1tY2EVwGinhD6cJaCqXdrMyzj78S0pf257qz/BWgXdA50wjkuV33cxwSIwm9RXiWKE05ZmNl834= Received: by 10.54.160.4 with SMTP id i4mr20168wre; Tue, 30 Aug 2005 20:48:20 -0700 (PDT) Received: by 10.54.124.11 with HTTP; Tue, 30 Aug 2005 20:48:20 -0700 (PDT) Message-ID: Date: Tue, 30 Aug 2005 22:48:20 -0500 From: Nikolas Britton To: Eric Murphy In-Reply-To: <4314F82D.6090607@earthlink.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <4314F82D.6090607@earthlink.net> Cc: freebsd-questions@freebsd.org Subject: Re: VNC + SSH question.. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Aug 2005 03:48:22 -0000 On 8/30/05, Eric Murphy wrote: > Hey guys had a SSH forward question so here goes... >=20 >=20 > I have 2 computers on my lan one of them is a server and the other is my > desktop. >=20 > Desktop 192.168.1.104 > Server 192.168.1.103 >=20 > Now I have port forwarding setup on my crappy linksys router so 22 is > pointing to my Server (192.168.1.103) >=20 > My question is this... >=20 >=20 > I would like to tightVNC to my Desktop (192.168.1.104) forwarding it > through SSH. Now from what I understand If my router was pointing to my > desktop this would not be a problem at all. All I would have to do is > SSH to my IP while forwarding 22 to 5900. However I cant do it this way > since 22 is pointing to my server. So I figured I would ssh into my > server and issue a command such as ssh 192.168.1.103 > -L22:192.168.1.104:5900 however once im in and I run vncview it > obivoiusly can be displayed becuase Im not running X on the server. Am > I way off here? Is there a way to do this? Will I need to forward 22 on > my router to the desktop as well as server? Is there a way to connect to > my server thats not running X and some how vnc into my desktop? >=20 Why not just forword it to a diffrent port, at the router forward port 23 (any port) to 192.168.1.104:22? > On the remote machines I'd be useing PuTTY for windows and SSH on Linux > box's. Prehaps someone can give me a step by step guide? >=20 http://www.maths.utas.edu.au/People/Hill/vnc/vnc.html