From owner-freebsd-questions@FreeBSD.ORG Wed Aug 31 00:32:24 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 4845716A41F for ; Wed, 31 Aug 2005 00:32:24 +0000 (GMT) (envelope-from eam404@earthlink.net) Received: from eastrmmtao05.cox.net (eastrmmtao05.cox.net [68.230.240.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id B04F643D46 for ; Wed, 31 Aug 2005 00:32:23 +0000 (GMT) (envelope-from eam404@earthlink.net) Received: from [192.168.1.104] (really [24.250.141.71]) by centrmmtao06.cox.net (InterMail vM.6.01.05.02 201-2131-123-102-20050715) with ESMTP id <20050831002204.RQIS23224.centrmmtao06.cox.net@[192.168.1.104]> for ; Tue, 30 Aug 2005 20:22:04 -0400 Message-ID: <4314F82D.6090607@earthlink.net> Date: Tue, 30 Aug 2005 19:22:05 -0500 From: Eric Murphy User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050826) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: 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 00:32:24 -0000 Hey guys had a SSH forward question so here goes... I have 2 computers on my lan one of them is a server and the other is my desktop. Desktop 192.168.1.104 Server 192.168.1.103 Now I have port forwarding setup on my crappy linksys router so 22 is pointing to my Server (192.168.1.103) My question is this... 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? 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? Thanks.