| Summary: | SSH :Unable to set a env variable | ||
|---|---|---|---|
| Product: | Portable OpenSSH | Reporter: | ashok <ashok_kovai> |
| Component: | ssh | Assignee: | Assigned to nobody <unassigned-bugs> |
| Status: | CLOSED INVALID | ||
| Severity: | normal | ||
| Priority: | P2 | ||
| Version: | 3.6.1p2 | ||
| Hardware: | Other | ||
| OS: | Linux | ||
|
Description
ashok
2005-12-26 17:40:37 AEDT
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. Change all RESOLVED bug to CLOSED with the exception of the ones fixed post-4.4. |