satimis
11-15-2003, 09:20 AM
Hi,
I have been playing around with SSH encountering single-way traffic problem as follows;
MachineA - RH9.0
eth0 connected to broadband via ADSL modem
eth1 connected to eth1 of MachineB
IO 192.168.0.1
Mask 255.255.266.0
Gateway (blank)
MachineB - Gentoo box
eth0 for connecting broadband via ADSL modem to be used when this box works as a standalone workstation. At time test it is not in use
eth1 connecting to eth1 of MachineB
IP 192.168.0.2
Mask 255.255.255.0
Gateway 192.168.0.1
Test results;
MachineA
As Root
MachineA can connect X-server of MachineB, both ROOT and USER, displaying the latter on its screen
As USER
Not work
MachineB
As Root
MachineB can ssh-login MachineA, both ROOT and USER, but can't connect their X-server
# ssh -X satimis@192.168.0.1
satimis@192.168.0.1's password:
$ xterm
xterm Xt error: Can't open display
$ konqueror
konqueror: cannot connect to X server
# ssh -X root@192.168.0.1
same result
As USER
Not work
One thing very strange *********
MachineA
use kedit
/etc/ssh/sshd_config
# $OpenBSD: ssh_config,v 1.19 2003/08/13 08:46:31 markus Exp $
........
Host *
ForwardX11 yes
is there
# cat /etc/ssh/sshd_config
# $OpenBSD: sshd_config,v 1.65 2003/08/28 12:54:34 markus Exp $
(Host *
ForwardX11 yes
is not there. Following line found)
Subsystem sftp /usr/libexec/openssh/sftp-server
It seems a different file
Kindly advise
Thanks in advance.
B.R.
satimis
(Remark:
Recently I install following new openssh package on RH9.0
openssh-askpass-3.7.1p2-1
openssh-clients-3.7.1p2-1
openssh-askpass-gnome-3.7.1p2-1
openssh-3.7.1p2-1
openssh-server-3.7.1p2-1 )
I have been playing around with SSH encountering single-way traffic problem as follows;
MachineA - RH9.0
eth0 connected to broadband via ADSL modem
eth1 connected to eth1 of MachineB
IO 192.168.0.1
Mask 255.255.266.0
Gateway (blank)
MachineB - Gentoo box
eth0 for connecting broadband via ADSL modem to be used when this box works as a standalone workstation. At time test it is not in use
eth1 connecting to eth1 of MachineB
IP 192.168.0.2
Mask 255.255.255.0
Gateway 192.168.0.1
Test results;
MachineA
As Root
MachineA can connect X-server of MachineB, both ROOT and USER, displaying the latter on its screen
As USER
Not work
MachineB
As Root
MachineB can ssh-login MachineA, both ROOT and USER, but can't connect their X-server
# ssh -X satimis@192.168.0.1
satimis@192.168.0.1's password:
$ xterm
xterm Xt error: Can't open display
$ konqueror
konqueror: cannot connect to X server
# ssh -X root@192.168.0.1
same result
As USER
Not work
One thing very strange *********
MachineA
use kedit
/etc/ssh/sshd_config
# $OpenBSD: ssh_config,v 1.19 2003/08/13 08:46:31 markus Exp $
........
Host *
ForwardX11 yes
is there
# cat /etc/ssh/sshd_config
# $OpenBSD: sshd_config,v 1.65 2003/08/28 12:54:34 markus Exp $
(Host *
ForwardX11 yes
is not there. Following line found)
Subsystem sftp /usr/libexec/openssh/sftp-server
It seems a different file
Kindly advise
Thanks in advance.
B.R.
satimis
(Remark:
Recently I install following new openssh package on RH9.0
openssh-askpass-3.7.1p2-1
openssh-clients-3.7.1p2-1
openssh-askpass-gnome-3.7.1p2-1
openssh-3.7.1p2-1
openssh-server-3.7.1p2-1 )