saltstack/salt — pull request #8307 by rsommer (2013-11-06 22:13:26+00:00)
Title: Use single quotes in cmd string to prevent shell expansion of passwords

When salt-ssh asks for a password to deploy its key it fails if the password contains '$' because the generated shell command expands the '$' sign and the following characters as shell variable.

Using single quotes prevents shell expansion and passwords containig '$' signs work again.