title: Handling special characters in password field of sshpass
body: <p>I have a Python script which uses <code>sshpass</code> for ssh access to a machine</p>
  
  <pre><code>Popen(["sshpass","-p", "test!@#", "ssh", "-o UserKnownHostsFile=/dev/null", "-o StrictHostKeyChecking=no", "user1@192.168.10.1"])
  </code></pre>
  
  <p>But due to the presence of special characters in password field this command is throwing some error. Is there a way that I can use password with special characters in sshpass or anything else which can be called from Python?</p>
  
  <p>The error is: <code>bash: !@#": event not found</code></p>