securely set environment variables per user

Christoph Anton Mitterer calestyo at
Wed Aug 8 07:14:52 EST 2012


Is there a way to securely set environment variables per user on the
remote side?

What I want is e.g. that I determine on the remote side, that user foo
should always have PATH set to "blafasl".

~/.ssh/environment came to my mind for this,... but it needs
PermitUserEnvironment which (according to documentation) allows trickery
with things like LD_PRELOAD and which I do not want to allow.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5450 bytes
Desc: not available
URL: <>

More information about the openssh-unix-dev mailing list