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]

environment variables in ssh non-interactive shell


Hi,
I'm trying to use environment variables to pilot a windows system
through cygwin+ssh. Things work nicely with an interactive shell, but
mess up with a non-interactive shell because my environment variables
aren't set.
I've set PermitUserEnvironment to yes in my sshd_config, I've set
BLA=bla in .ssh/environment. Now when in my script I call 'env', I do
see BLA in it. However echo $BLA doesn't echo anything.
The only similar issue and suggestion I've found is this:
http://cygwin.com/ml/cygwin/2004-10/msg01028.html
Obviously I use the environment file, but it doesn't help.
Does anyone have an idea what could be wrong?
-- 
best regards,
Ariel Sommeria-Klein

Attachment: cygcheck.out
Description: Binary data

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

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