Hi Thomas,

Thomas Buntrock wrote:

After uncomment the line "iface_eth1="207.170.82.202 broadcast 207.0.255.255 netmask 255.255.0.0""
on /etc/conf.d/net of PC2-Gentoo box, both box can ping each other


Now on PC2-Gentoo box
/etc/conf.d/net
iface_eth0="192.168.0.2 broadcast 192.168.0.255 netmask 255.255.255.0"
iface_eth1="207.170.82.202 broadcast 207.0.255.255 netmask 255.255.0.0"
dhcpcd_eth0="..."
gateway="eth0/192.168.0.1"


On PC1-RH9 I could start applications of PC2-Gentoo box displaying it on screen.

But I could not make it the other way round, i.e.

On PC2-Gentoo
# ssh -l root 192.168.0.1
[EMAIL PROTECTED]'s password:
Last login: Fri Nov 7 16:06:41 2003 from 192.168.0.2
[EMAIL PROTECTED] root]# konqueror
konqueror: cannot connect to X server



Looks like your sshd does not allow X-connections. Check in your /etc/ssh/sshd_config for this option.

X11Forwarding yes



Now it looks to me a little bid funny. The tide has changed, the other way round


PC2-Gentoo box can ssh-connect PC1-RH9 box and start the application of the latter. But PC1-RH9 box can't ssh-connect PC2-Gentoo box

/etc/ssh/ssh_config
Host  *
         ForwardX11  yes

Already there on both boxes.

What is the use of * after Host ?

On PC1-RH9 box
# ssh -l root 192.168.0.2
ssh: connect to host 192.168.0.2 port 22: Connection refused

# ping -c 3 192.168.0.2
PING 192.168.0.2 (192.168.0.2) 56(84) bytes of data.
64 bytes from 192.168.0.2: icmp_seq=1 ttl=64 time=0.292 ms
64 bytes from 192.168.0.2: icmp_seq=2 ttl=64 time=0.230 ms
64 bytes from 192.168.0.2: icmp_seq=3 ttl=64 time=0.227 ms

--- 192.168.0.2 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2001ms
rtt min/avg/max/mdev = 0.227/0.249/0.292/0.035 ms

I have not touched anything since last posting, only turn-off the boxes.

B.R.
Stephen










-- [EMAIL PROTECTED] mailing list



Reply via email to