saltstack/salt — pull request #19065 by basepi (2014-12-17 22:11:27+00:00)
Title: Fix salt-ssh with sudo and tty enabled

First problem: we were passing `-t -t` to scp commands, which isn't supported.

Second problem: Because we're using a tty, we only get a combined stdout and stderr. So we throw away the stderr from our salt command and we don't worry about the lack of an RSTR in the stderr on the master side