Hello,
this is a rather long posting, but it has also been a
long time that I try to use ssh (2.0.13) to export
the DISPLAY (a.k.a X tunnelling) from an HP-UX 10.20
machine in France to a SunOS 5.5.1 in Greece, and vice
versa, without great succes (and things are getting worse!)
1) X tunnelling
The protocol used to work fine in terminal mode,
but I never managed to tunnel X over the secure
channel:
While trying to test what was going on I found
that (the DISPLAY variable was always set on local
host, before connection):
* X tunnelling works between 2 greek hosts (in the same domain)
and the DISPLAY variable is set by ssh on
remote.
* X tunneling does not work between 2 french hosts, (in the same
domain) even when the option "+x" is given.
(ssh has been recompiled with
"enable-x11" and nothing changed).
When verbose mode is used (-v option), the connection
script does not contain a line with
debug: Requesting X11 forwarding with authentication spoofing.
as if the system ignored X.
The DISPLAY variable is not set by ssh on
remote.
* when connecting from a french to a greek host,
there is no "Requesting X11 forwarding"
and the DISPLAY variable is not set by ssh on
remote.
* when connecting from a greek to a french host, in
verbose mode the script ends with:
debug: Requesting X11 forwarding with authentication spoofing.
debug: Failed to get local xauth data.
and the DISPLAY variable is not set by ssh on
remote.
It seems that the problem is on the french side.
Are there any ideas about it?
2) "FATAL: TCP/IP failure" message
However, apart from these X11 related problems,
recently I got another one (!)
Connection from France to Greece works "well"
(always without X11) but connection from Greece to
France does not anymore... (although a simple telnet
works) The command:
gr_host> ssh -v fr_user@fr_host
gives:
Development-time debugging not compiled in.
To enable, configure with --enable-debug and recompile.
debug: hostname is <fr_host>.
Development-time debugging not compiled in.
To enable, configure with --enable-debug and recompile.
debug: connecting to <fr_host>...
debug: entering event loop
FATAL: Connecting to <fr_host> failed: TCP/IP Failure
What does this "fatal" error means? How can it be fixed?
Thanks in advance,
Yannis ALIFERIS
PhD Student in Electromagnetic Inverse Scattering - Microwave Imaging
-------------------------------------------------------------------------
Laboratoire d'Electronique: Universite de Nice - Sophia Antipolis, France
tel: +33 4 92 94 28 43, fax: +33 4 92 94 28 12
ECE Department: National Technical University of Athens, Greece
Office: 6.22, Electroscience Division
tel: +30 1 77 2 36 94, fax: +30 1 77 2 22 81
--------------------------------------------------------------------------