From owner-freebsd-questions@FreeBSD.ORG Wed May 5 19:25:35 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 9BF4916A4CE for ; Wed, 5 May 2004 19:25:35 -0700 (PDT) Received: from auk1.snu.ac.kr (auk1.snu.ac.kr [147.46.100.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id CEAC343D3F for ; Wed, 5 May 2004 19:25:34 -0700 (PDT) (envelope-from stopspam@users.sourceforge.net) Received: from [147.46.44.181] (stopspam@users.sourceforge.net) by auk1.snu.ac.kr (Terrace Internet Messaging Server) with ESMTP id 2004050611:13:03:011964.23420.2298960816 for ; Thu, 06 May 2004 11:13:02 +0900 (KST) Message-ID: <4099A21D.2030001@users.sourceforge.net> Date: Thu, 06 May 2004 11:25:33 +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> In-Reply-To: <200405061032.19742.pwd8jmr22w@me.point.ne.jp> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-TERRACE-SPAMMARK: NO (SR:8.71) (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 02:25:35 -0000 Bull TORS wrote: > > Can I use ssh to connect/administer either way on these 2 laptops? > I hope that I have stated my question clearly...I will try my best to simply > things below: > > laptop1.mydomain.org <-----?ssh?---> laptop2.mydomain.org > Static IP Address from the DHCP client of my ISP > Company LAN Server with > a different domain (companydomain.org) Are the laptops on internal networks (10.0.0.0/8 for example) or on real internet addresses? In the latter case, you just do ssh a.b.c.d using the IP addresses from one machine to the other, providing the username is same on both machines. Otherwise use: ssh user@a.b.c.d You can also put the a.b.c.d octets together your chosen hostnames in /etc/hosts and use the hostnames instead. Does your ISP change your IP regularly, or is it fixed? If it changes, the ssh only works from laptop2 to laptop1; and for the reverse you have to play some tricks. Rob.