Difference between single quotes and double quotes when passing command through ssh

view full story

http://serverfault.com – When I send a command to a remote server over ssh what is the difference between: ssh [email protected] 'foo' and ssh [email protected] "foo" I am not passing any variables, and I am getting different results when running a command remotely. (HowTos)