Free Downloads, Community Forum,
FAQs and Developer Resources


Make /Tools Your Home | Link to us

Today's posts | Posts since last visit | Most Active Topics

All Forums Register Login Search Subscriptions My Profile Inbox
Tool Warehouse FAQs Resources Help Member List Address Book Logout

ssh - no xauth data

 
Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [SFU / Interix / SUA Technology] >> Tools Discussion Forum >> ssh - no xauth data Page: [1]
Login
Message << Older Topic   Newer Topic >>
ssh - no xauth data - Jul. 7, '05, 3:51:33 AM   
wizgnome

 

Posts: 4
Joined: Jul. 4, '05,
Status: offline
Using openssh version 4.0p1 installed with pkg_add when I connect to a remote site with a command such as:

ssh -X mike@10.17.2.213

I get the response:
Warning: No xauth data; using fake authentication data for X11 forwarding.

and I am unable to run X applications.

However if I install openssh version 3.3 from source and connect to the same site.

apart from the message:

setsockopt IPTOS_LOWDELAY: Invalid argument

It all works without any problems, including X applications.

Is there a problem with version 4.0p1 or have I missed something?
Post #: 1
RE: ssh - no xauth data - Jul. 7, '05, 4:53:34 AM   
Rodney

 

Posts: 3728
Joined: Jul. 9, '02,
From: /Tools lab
Status: offline
Edit the configuration file /usr/local/etc/sshd_config and add the line:
X11UseLocalHost no

You'll still get the message about "fake authentication", but you can ignore it.
(This is a separate issue from OpenSSH; it's an X11 app 'xauth' that needs some work.)
The X11-ssh tunnel should then be working fine.

(in reply to wizgnome)
Post #: 2
RE: ssh - no xauth data - Jul. 7, '05, 6:23:15 AM   
wizgnome

 

Posts: 4
Joined: Jul. 4, '05,
Status: offline
I added the line. It did not fix anything.

when I ssh from my SFU 3.5 installation to a remote site I am still unable to froward X11 connections to my local machine with this version of ssh.
If I try and start for example, xterm, I get:

localhost: unknown host. (temporary failure)
X connection to localhost:11.0 broken (explicit kill or server shutdown).

(in reply to Rodney)
Post #: 3
RE: ssh - no xauth data - Jul. 7, '05, 11:44:42 AM   
Rodney

 

Posts: 3728
Joined: Jul. 9, '02,
From: /Tools lab
Status: offline
Check the setting of your DISPLAY environment variable then on the ssh
client side. Check it has the hostname.

I'd assumed before you were coming to an Interix sshd.

(in reply to wizgnome)
Post #: 4
RE: ssh - no xauth data - Jul. 8, '05, 3:20:31 AM   
wizgnome

 

Posts: 4
Joined: Jul. 4, '05,
Status: offline
Local System:

/home/wilsonmic: env|grep DISPLAY
DISPLAY=localhost:0.0

Remote system:

Warning: No xauth data; using fake authentication data for X11 forwarding.
[tibco@theserver tibco]$ env
HOSTNAME=theserver
TERM=xterm
SHELL=/bin/bash
SSH_CLIENT=10.17.2.130 4373 22
SSH_TTY=/dev/pts/4
DISPLAY=localhost:11.0
.
.
.
.

However with ssh 3.3 downloaded and compiled from http://www.networksimplicity.com/interix/openssh-3.3p1-final.tar.gz

I get on the remote system:

/home/wilsonmic: ssh -X tibco@10.17.2.213
tibco@10.17.2.213's password:
setsockopt IPTOS_LOWDELAY: Invalid argument
[tibco@theserver tibco]$ env
HOSTNAME=theserver
TERM=xterm
SHELL=/bin/bash
SSH_CLIENT=10.17.2.130 4386 22
SSH_TTY=/dev/pts/4
DISPLAY=localhost:11.0

In both cases the same settings. But with one version X forwarding works, with the other it dosn't!

I can work around the problem by using the ssh client from version 3.3 rather than the distributed version. I have also tried this on an Interix installation on another machine to a diferent linux server and also to a solaris server all with the sam observations.

Mike

(in reply to Rodney)
Post #: 5
RE: ssh - no xauth data - Jul. 8, '05, 11:11:24 AM   
Rodney

 

Posts: 3728
Joined: Jul. 9, '02,
From: /Tools lab
Status: offline
It works for me going from Interix 3.5 with ssh to sshd with
the env var DISPLAY as "localhost:0.0" and "machine:0.0". I know others are using
X11/ssh successfully.

Something else must be causing some interference.
If you change the environment variable DISPLAY from "localhost:0.0" to "machine:0.0"
where "machine" is the actual hostname does it then work or not?.
What do you have for settings in you /etc/resolv.conf file ?
When you change the /usr/local/etc/sshd_config file did you restart sshd?

(in reply to wizgnome)
Post #: 6
RE: ssh - no xauth data - Jul. 8, '05, 11:33:06 AM   
Rodney

 

Posts: 3728
Joined: Jul. 9, '02,
From: /Tools lab
Status: offline
> When you change the /usr/local/etc/sshd_config file did you restart sshd?

By this I was implying "can you ssh -X localhost and it work ?

I've tried ssh'ing out to a couple of other systems (BSD, Linux) and I
can display back a xterm without any changes to the default install.
So there must be something local to your machine which is what I'm trying to
figure out by my questions.

I missed asking before: which Windows OS & SP are you running? Is a firewall running?

(in reply to Rodney)
Post #: 7
RE: ssh - no xauth data - Jul. 9, '05, 7:45:52 AM   
wizgnome

 

Posts: 4
Joined: Jul. 4, '05,
Status: offline
Changed DISPLAY - this made no difference to version 4.0p1 - version 3.3 still worked.

resolv.conf:
# This file was automatically generated on Fri Jun 10 14:56:50 WEDT 2005
#
search
nameserver 194.109.6.66
nameserver 10.17.63.65

lookup file bind

Yes, I did restart sshd.

I can ssh -X to localhost, but it works (not) as before!

Windows XP SP2 - I turned off the firewall as it was on, but no diference.

This happens on two seperate installations, on two different network with different remote machines.

If I get time, I'll take a look at the code of the two versions to see if there are any differences in the way they handle X forwarding that might be relevent.

(in reply to Rodney)
Post #: 8
RE: ssh - no xauth data - Aug. 22, '05, 2:47:10 PM   
Rodney

 

Posts: 3728
Joined: Jul. 9, '02,
From: /Tools lab
Status: offline
xref: http://www.interopsystems.com/tools/forum/fb.aspx?m=6664
Where I think this issue gets closed (details there).

(in reply to wizgnome)
Post #: 9
Page:   [1]
All Forums >> [SFU / Interix / SUA Technology] >> Tools Discussion Forum >> ssh - no xauth data Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Search All Forums -

Advanced search


SPONSORS



Forum Software © ASPPlayground.NET Advanced Edition 2.5 ANSI

0.063