Hey there

On Tue (11/12/12), Martijn van Duren wrote:
> 
> On my new install I found that it is possible to set environment
> variables via the login.conf file. When trying I found out that those
> variables aren't honored if I log in via ssh. Setting the variables via
> setusercontext in a test-application and via the login command does
> work.
> Am I somehow missing a setting in sshd_config that ignores these
> settings or do I need to report this as a bug?

Check 'AcceptEnv' and 'PermitUserEnvironment'in sshd_config(5).
They're both set to off, by default.

-- 
Manolis Tzanidakis
http://mtzanidakis.com/
mtzanidakis[at]gmail[dot]com

Reply via email to