delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/05/25/00:59:16

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <42940762.4FFDCE84@dessent.net>
Date: Tue, 24 May 2005 22:04:34 -0700
From: Brian Dessent <brian AT dessent DOT net>
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: "ssh-host-config -y" w/CYGWIN set to ntsec..; ssh works but CYGWIN *not* set
References: <200505250445 DOT j4P4jGmN029773 AT tigris DOT pounder DOT sol DOT net>
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com

Tom Rodman wrote:

> I've upgraded to 1.5.16, and installed the latest openssh, using
> the "ssh-host-config -y" script.  I specified CYGWIN be set to:
> 
>   binmode tty ntsec smbntsec
> 
> When I logon w/simple password authentication, CYGWIN is undefined:
> 
>   bash-2.05b $ ssh localhost -l adm_tsr
>   adm_tsr AT localhost's password:
>   Last login: Tue May 24 22:58:12 2005 from 127.0.0.1
>   Welcome!
>   bash-2.05b $ echo "CYGWIN is: [$CYGWIN]"
>   CYGWIN is: []

I could be wrong here but I thought that setting of $CYGWIN for the
service affects only the environment of the actual service, not for the
general cygwin environment.  If you want the CYGWIN environment variable
set to a certain value globally, just set it in the system properties
dialog.

BTW, ntsec has been enabled by default for years (?) so it's pointless
to specify it in the environment.

The delay you are seeing is probably due to ssh trying to do a reverse
dns lookup of 127.0.0.1 and timing out.  Make sure you have a hosts file
that specifies "127.0.0.1 localhost" if you want to skip that delay.

Brian

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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