ssh connects to originating host

Geoffrey Leach geoff at hughes.net
Tue May 12 22:50:27 UTC 2009


On 05/12/2009 03:08:26 PM, Shashank wrote:
> So let me see if I understand it correctly. Let's also drop the 
> domain
> name
> 
> 
> System A :
> 
> mtranch     eth0   -  192.168.10.2
> mtranchw   wlan0 -  192.168.10.4
> 
> System B:
> pvr            eth0 ??
>                 wlan0    192.168.10.3
> 

eth0 on B is connected to an OTA HD TV tuner

> So far so good...
> Now you are connected to system A:
> 
> You type ssh pvr (B) you get connected back to A?
> Can you provide cat /etc/hosts on system A ?

root at mtranch[25]->cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1	localhost.localdomain localhost mtranch.mtranch.com 
mtranch
::1		localhost6.localdomain6 localhost6
192.168.10.2	mtranch.mtranch.com mtranch
192.168.10.3	mtranchw.mtranch.com mtranchw
192.168.10.4	pvr.mtranch.com pvr

> 
> As per your traceroute pvr output, you are getting the 192.168.10.2
> instead of 192.168.10.3.
> 
> Also on system A, can you run:
> nslookup pvr
> nslookup mtranch
> nslookup mtranchw

root at mtranch[26]->nslookup pvr
Server:		192.168.10.1
Address:	192.168.10.1#53

Non-authoritative answer:
Name:	pvr.mtranch.com
Address: 63.251.179.5

root at mtranch[27]->nslookup mtranch
Server:		192.168.10.1
Address:	192.168.10.1#53

Non-authoritative answer:
Name:	mtranch.mtranch.com
Address: 63.251.179.5

root at mtranch[28]->nslookup mtranchw
Server:		192.168.10.1
Address:	192.168.10.1#53

Non-authoritative answer:
Name:	mtranchw.mtranch.com
Address: 63.251.179.5

> Hopefully that will help us resolve your issue.





More information about the fedora-list mailing list