From owner-freebsd-questions@FreeBSD.ORG Wed May 5 20:50:47 2004 Return-Path: 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 50E3B16A4CE for ; Wed, 5 May 2004 20:50:47 -0700 (PDT) Received: from auk2.snu.ac.kr (auk2.snu.ac.kr [147.46.100.32]) by mx1.FreeBSD.org (Postfix) with ESMTP id C256643D39 for ; Wed, 5 May 2004 20:50:46 -0700 (PDT) (envelope-from stopspam@users.sourceforge.net) Received: from [147.46.44.181] (stopspam@users.sourceforge.net) by auk2.snu.ac.kr (Terrace Internet Messaging Server) with ESMTP id 2004050612:38:26:829906.28674.2347740080 for ; Thu, 06 May 2004 12:38:26 +0900 (KST) Message-ID: <4099B615.8090403@users.sourceforge.net> Date: Thu, 06 May 2004 12:50:45 +0900 From: Rob User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040315 X-Accept-Language: en-us, en MIME-Version: 1.0 To: pwd8jmr22w@me.point.ne.jp, freebsd-questions@freebsd.org References: <200405061032.19742.pwd8jmr22w@me.point.ne.jp> <4099A21D.2030001@users.sourceforge.net> <200405061224.06064.pwd8jmr22w@me.point.ne.jp> In-Reply-To: <200405061224.06064.pwd8jmr22w@me.point.ne.jp> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-TERRACE-SPAMMARK: NO (SR:8.03) (by Terrace) Subject: Re: Need Advice in SSH X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 May 2004 03:50:47 -0000 Bull TORS wrote: > > > My laptop in the office (laptop1.mydomain.org) has a static internal network > address 192.168.1.35 from my company's (companydomain.org) LAN Server. > My laptop in my home has 192.168.1.x (I am not that sure if it changes a lot > but I think not) as a DHCP client from my ISP (ispdomain.ne.jp). > So I think both gets internal network addresses from their respective servers, > one as a static client and the other as a dynamic client from different > domains. Does this mean I can not use ssh from either both PC's? My knowledge of ssh is just to the level of a regular user, so I may be wrong here. But in this case I am afraid you can only connect the two computers if you also have access (login & password) to each one of the gateways, in which case you can make use of ssh-tunnels. See for example: http://www.onlamp.com/pub/a/onlamp/excerpt/ssh_11/index1.html In case you have no access to the gateways, I then wonder, if you could use any third computer with a real IP address (provided you have access to that one) and use this third computer as an inbetween in the ssh-tunnel between your two laptops. Above article may give a clue. Does that help? Regards, Rob.