sshpass is quite happy with pipes, as mentioned in [README.md](https://github.com/clarkwang/passh/blob/master/README.md).