bugzilla-daemon at mindrot.org
2005-Dec-26  07:16 UTC
[Bug 1140] SSH :Unable to set a env variable
http://bugzilla.mindrot.org/show_bug.cgi?id=1140
ashok_kovai at yahoo.com changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|SSH :Unable set a env       |SSH :Unable to set a env
                   |variable                    |variable
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2005-Dec-26  09:11 UTC
[Bug 1140] SSH :Unable to set a env variable
http://bugzilla.mindrot.org/show_bug.cgi?id=1140
djm at mindrot.org changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID
------- Comment #1 from djm at mindrot.org  2005-12-26 20:11 -------
This is not a bug - you just need to be careful about quoting. E.g.:
$ ssh localhost "sh -c 'foo=bar;echo \$foo'"
bar
This is a function of your shell, not ssh. If in doubt, put what you are trying
to do inside a shell script.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
Reasonably Related Threads
- [Bug 2386] New: TERM env variable is always accepted by sshd, regardless the empty AcceptEnv setting
- [Bug 1729] New: Bash environmental associative arrays not getting set
- [Bug 815] RFE: sshd should be able to set environment variables defined by the client
- [Bug 1751] New: ssh-add -s /usr/lib/opensc-pkcs11.so does not work
- [Bug 1336] New: Environment variable changes