Problems with environment variables in Windows 7

yoni shalom silver83@gmail.com
Thu May 13 16:45:00 GMT 2010


I did some googling around for this to no avail. Sorry 'bout that.
From 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)
<reply-to-list-only-lh@cygwin.com> 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@yonidesk ~
>> $ env | grep -i ProgramFiles
>> COMMONPROGRAMFILES=C:\Program Files\Common Files
>> PROGRAMFILES=C:\Program Files
>> yoni@yonidesk ~
>> $ ssh yoni@localhost
>> Last login: Thu May 13 13:45:01 2010 from ::1
>> yoni@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:
>
> <http://sourceware.org/ml/cygwin/2010-05/msg00001.html>
>
> --
> Larry Hall                              http://www.rfk.com
> RFK Partners, Inc.                      (508) 893-9779 - RFK Office
> 216 Dalton Rd.                          (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:       http://cygwin.com/problems.html
> FAQ:                   http://cygwin.com/faq/
> Documentation:         http://cygwin.com/docs.html
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
>
>

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



More information about the Cygwin mailing list