Ernie Schroder wrote:

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.

Stephen, try

# ssh [EMAIL PROTECTED]

What does that show?


Hi Ernie,

The same result

On PC1-RH9 box
# ssh -X [EMAIL PROTECTED]
ssh: connect to host 192.168.0.2 port 22: Connection refused
# ssh -l root 192.168.0.2
ssh: connect to host 192.168.0.2 port 22: Connection refused

ping was Ok
# 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.560 ms
- snip -
3 packets transmitted, 3 received, 0% packet loss, time 2017ms
rtt min/avg/max/mdev = 0.221/0.356/0.560/0.148 ms

It seemed Port 22 always locked.
=======================

But both commands worked on PC2-Gentoo box. They could connect X-server of PC1-RH9 box

I was searching around for command to temp-stop iptables on PC2-Gentoo box without result

# iptables stop
3 /sbin/iptables stop
could not work

B.R.
Stephen





--
[EMAIL PROTECTED] mailing list



Reply via email to