[Bug 1140] SSH :Unable to set a env variable
    bugzilla-daemon at mindrot.org 
    bugzilla-daemon at mindrot.org
       
    Mon Dec 26 20:11:58 EST 2005
    
    
  
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.
    
    
More information about the openssh-bugs
mailing list