On Wed, Dec 22, 2010 at 09:53:32PM -0500, Chet Ramey wrote: > I suspect that ssh is invoking a shell, which is performing the expansion.
Yes, that is precisely what happens. A shell on the remote system performs a second parsing. http://mywiki.wooledge.org/BashFAQ/096 for more hints.
