Running “backticks” commands on remote servers
By Roman Pertl
Sometimes it’s necessary to run a complex command on a remote server witch also includes some “backticks”. Usually these commands are interpreted by the local shell so you need to use a little trick to force execution on the remote server:
ssh this.is.my.beautiful.server '( echo `echo "This Command is run on the remote server" ` )'
You need to use single quotes combined with brackets to use the backtick on the remote server.