saltstack/salt — pull request #19064 by basepi (2014-12-17 22:10:26+00:00)
Title: Fix salt-ssh with sudo and tty

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