title: Is there any differences between ssh localhost 'command' and command
body: <p>I am working to deploy my application in remote server and want to test it in my local machine.I find I can't run some command use <code>ssh localhost 'command'</code> but I can run it directly without ssh.I wonder why and how to solve this problem?</p>