delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/05/02/02:33:54

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
From: Vincent Pelletier <plr DOT vincent AT gmail DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: 1.7.5: sshd environment variables
Date: Sun, 2 May 2010 08:33:59 +0200
User-Agent: KMail/1.12.4 (Linux/2.6.32-3-amd64; KDE/4.3.4; x86_64; ; )
References: <201005010750 DOT 10907 DOT plr DOT vincent AT gmail DOT com> <4BDCCCE7 DOT 7090002 AT cygwin DOT com>
In-Reply-To: <4BDCCCE7.7090002@cygwin.com>
MIME-Version: 1.0
Message-Id: <201005020833.59667.plr.vincent@gmail.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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

Le dimanche 02 mai 2010 02:52:55, Larry Hall (Cygwin) a =C3=A9crit :
> You can add whatever variables you want and need to a script you can run
> as part of the login or just after, depending on your needs.

So my question becomes:
Is it possible to get windows environment vars in a shell obtained via ssh =
(to=20
avoid duplicating their definition in my .bashrc) ?
Or is there a way to extend the set of vars sshd lets through to shell (I'm=
 ok=20
with having to name the variables I need, as long as I don't have to set th=
eir=20
value manually) ?

Regards,
--=20
Vincent Pelletier

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

- Raw text -


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