Escaped $ in remotely-executed here-document