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: Missing APPDATA var in env of ssh sessions?

On Aug 11 00:23, Charles Wilson wrote:
> Can ssh (or is it cygwin1.dll?) ensure that the user's APPDATA variable
> is populated, since it appears to be a pretty important var for Windows
> Vista+?

The child process started by sshd inherits its minimal environment from
its sshd server parent process.  The sshd server is running under
another account and so has another set of environment variables.  The
setuid() call does not change the environment.  There's no mechanism to
fetch a user-specific environment other than the officially supported
mechanisms as described in `man sshd' and `man sshd_config':

In `man sshd' see the LOGIN PROCESS and SSHRC sections, as well as the

In `man sshd_config' see the descriptions for AcceptEnv and


Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

Problem reports:
Unsubscribe info:

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