Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 06 May 2004 12:50:45 +0900
From:      Rob <stopspam@users.sourceforge.net>
To:        pwd8jmr22w@me.point.ne.jp, freebsd-questions@freebsd.org
Subject:   Re: Need Advice in SSH
Message-ID:  <4099B615.8090403@users.sourceforge.net>
In-Reply-To: <200405061224.06064.pwd8jmr22w@me.point.ne.jp>
References:  <200405061032.19742.pwd8jmr22w@me.point.ne.jp> <4099A21D.2030001@users.sourceforge.net> <200405061224.06064.pwd8jmr22w@me.point.ne.jp>

next in thread | previous in thread | raw e-mail | index | archive | help
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.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4099B615.8090403>