This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PROGRAMFILES variable is not set during openssh session


Sun, 12 Feb 2012 23:21:52 +0100, Cyrille Lefevre:
> around february 19 2011, there was a discussion about to limit ssh
> environment variables not including some windows ones !
>
> since then, I use the attached script in /etc/profile.d to set the
> missing ones at connection time...
> you may comment the lines containing SECONDS.
>
> it's based on Kurt Franke's similar script in the idea.
>
> Attachment: ssh-session-env.sh

It prints "elapsed: 0s" on each log-in, so it's executed, but looks like
incorrectly:
$ env | grep -i prog
returns nothing.
I'll try to find out reason.
Anyway, thanks for script and direction.

***

Mon, 13 Feb 2012 15:07:12 +0100, Corinna Vinschen:
> OpenSSH 6.0p1 is due soon.  I asked to apply a patch upstream so that
> PROGRAMFILES is added back to the environment variables passed over
> to the child process.

Glad to hear it.

-- 
ArcFi <arcfi.x@gmail.com>

Attachment: smime.p7s
Description: S/MIME cryptographic signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]