$ 0 0 You should quote in the context of the local shell and separately in the context of the remote shell. See this answer.