delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/09/16/18:19:23

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <37E16BF0.5CD259F5@jhuapl.edu>
Date: Thu, 16 Sep 1999 18:15:12 -0400
From: Steve Coleman <Steve DOT Coleman AT jhuapl DOT edu>
Organization: Johns Hopkins Applied Physics Laboratory
X-Mailer: Mozilla 4.6 [en] (X11; U; SunOS 5.6 sun4m)
X-Accept-Language: en
MIME-Version: 1.0
To: Richard Stanton <stanton AT Haas DOT Berkeley DOT EDU>
CC: cygwin AT sourceware DOT cygnus DOT com
Subject: Re: Minor issues running ssh/sshd under NT
References: <000e01bf0081$2c691a90$524b2080 AT berkeley DOT edu>

Richard Stanton wrote:

> 1) When I run ssh1 to connect to my machine (called mortgage), it connects
> and logs on fine, but I get the following warning message displayed before
> the command prompt:
> 
> /usr/X11R6.4/bin/xauth: (stdin):2:  bad display name "mortgage/unix:1.0" in
> "add
> " command
> $
> 
> Does anyone know how to get rid of this?

Gee, and I thought I was the only one with this problem. :->

I think the offending line(s) of code is in sshd.c 

------------------------------------------------------
#ifndef CRAY
                        /* Cray xauth cannot take host/unix:0 as
displayname *
                        fprintf(f, "add %.*s/unix%s %s %s\n",
                                cp - display, display, cp, auth_proto,
                                auth_data); */
#endif                             
-------------------------------------------------------

The #ifndef... could probably be changed to:

#if !defined(CRAY) && !defined(__CYGWIN32__)
...
#endif


I just commented it out and my problem went away. It also had the side
effect of fixing a client connection timeout problem I was having too,
but that's another story.

-- 
Steve Coleman     <Steve DOT Coleman AT jhuapl DOT edu>   http://www.jhuapl.edu/
<<--------->> Johns Hopkins Applied Physics Laboratory <<---------->>
Balt:443-778-6330 Fax:443-778-5597 Wash:240-228-6330 Fax:240-228-5597

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019