This is the mail archive of the
mailing list for the Cygwin project.
Re: Missing APPDATA var in env of ssh sessions?
- From: Corinna Vinschen <corinna-cygwin at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Wed, 11 Aug 2010 10:01:07 +0200
- Subject: Re: Missing APPDATA var in env of ssh sessions?
- References: <4C6225D9.email@example.com>
- Reply-to: cygwin at cygwin dot com
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
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
AUTHORIZED_KEYS FILE FORMAT section.
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
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple