Use remote machine environmental variables

Jim Knoble jmknoble at pobox.com
Wed Oct 11 08:13:38 EST 2006


Circa 2006-10-10 17:58 dixit Damien Miller:

: try:
: 
: ssh rhost "ls -lm $WWW_HOME"

(Damien very likely meant to use single quotes, as follows; otherwise
the effect would be the same as without the quotes at all).

    ssh rhost 'ls -lm $WWW_HOME'

-- 
jim knoble  |  jmknoble at pobox.com  |  http://www.pobox.com/~jmknoble/
(GnuPG key ID: 6F39C2CC  >>>>>>  http://www.pobox.com/~jmknoble/keys/ )
(GnuPG fingerprint: 5024:D578:7CF4:5660:7269::F6F3:B919:9307:6F39:C2CC)
+----------------------------------------------------------------------+
|[L]iberty, as we all know, cannot flourish in a country that is perma-|
| nently on a war footing, or even a near-war footing.  --Aldous Huxley|
+----------------------------------------------------------------------+



More information about the openssh-unix-dev mailing list