Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Tue, 24 May 2005 22:10:24 -0700
From: David Rothenberger <daveroth@acm.org>
Subject: Re: "ssh-host-config -y" w/CYGWIN set to ntsec..; ssh works but CYGWIN    *not* set
In-reply-to: <42940762.4FFDCE84@dessent.net>
To: cygwin@cygwin.com
Message-id: <429408C0.4070903@acm.org>
MIME-version: 1.0
Content-type: text/plain; charset=ISO-8859-1; format=flowed
Content-transfer-encoding: 7bit
References: <200505250445.j4P4jGmN029773@tigris.pounder.sol.net>  <42940762.4FFDCE84@dessent.net>
User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)
X-IsSubscribed: yes
Reply-To: cygwin@cygwin.com

On 5/24/2005 10:04 PM, Brian Dessent wrote:
> 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.

I have CYGWIN set in my sshd service and globally to "server", but when 
I ssh to my machine, CYGWIN is empty:

% echo $CYGWIN
server
% ssh localhost
Last login: Wed May  4 20:20:04 2005 from localhost
% echo $CYGWIN

%

This is with the 2005-05-20 snapshot.


-- 
David Rothenberger                spammer? -> spam@daveroth.dyndns.org
GPG/PGP: 0x7F67E734, C233 365A 25EF 2C5F C8E1 43DF B44F BA26 7F67 E734

Old soldiers never die.  Young ones do.


--
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/

