Uses printf to properly handle and output the password, even with special characters
Pipes the output to the sshpass command with -p "$(cat)" which reads the piped content
Avoids shell interpretation of special characters by properly quoting the command
Doesn't require temporary files or environment variables