X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=0.3 required=5.0 tests=AWL,BAYES_05,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org MIME-Version: 1.0 In-Reply-To: <4BEC1BFE.3070300@cygwin.com> References: <4BEC1BFE DOT 3070300 AT cygwin DOT com> Date: Thu, 13 May 2010 19:10:49 +0300 Message-ID: Subject: Re: Problems with environment variables in Windows 7 From: yoni shalom To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com I did some googling around for this to no avail. Sorry 'bout that. =46rom the conversation you referred me to : " ... 'ssh' is a secure shell so it has a minimal environment...." a. Did this change in one of the newer versions ? We have a few machines here configured the same way and we never got this problem before. b. What's the reason for "downsizing" the environment variable set ? If I'm already securely authenticated as X why shouldn't I see everything X would if he had opened a terminal locally ? Thanks. On Thu, May 13, 2010 at 6:34 PM, Larry Hall (Cygwin) wrote: > On 5/13/2010 8:36 AM, yoni shalom wrote: >> >> I don't get the user's environment variables while in ssh session. >> Example : >> >> //open up cygwin console >> yoni AT yonidesk ~ >> $ env | grep -i ProgramFiles >> COMMONPROGRAMFILES=3DC:\Program Files\Common Files >> PROGRAMFILES=3DC:\Program Files >> yoni AT yonidesk ~ >> $ ssh yoni AT localhost >> Last login: Thu May 13 13:45:01 2010 from ::1 >> yoni AT yonidesk ~ >> $ env | grep -i ProgramFiles >> [nothing] >> >> Fresh install of latest cygwin, everything else otherwise seems to work. >> Any clues ? Thanks. > > The email archives is your friend: > > > > -- > Larry Hall =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0http://www.rfk.com > RFK Partners, Inc. =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0(508) 893-9779 - RFK Office > 216 Dalton Rd. =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(508) 893-9889 - FAX > Holliston, MA 01746 > > _____________________________________________________________________ > > A: Yes. >> >> Q: Are you sure? >>> >>> A: Because it reverses the logical flow of conversation. >>>> >>>> Q: Why is top posting annoying in email? > > -- > Problem reports: =C2=A0 =C2=A0 =C2=A0 http://cygwin.com/problems.html > FAQ: =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 http:= //cygwin.com/faq/ > Documentation: =C2=A0 =C2=A0 =C2=A0 =C2=A0 http://cygwin.com/docs.html > Unsubscribe info: =C2=A0 =C2=A0 =C2=A0http://cygwin.com/ml/#unsubscribe-s= imple > > -- 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