Scrub SSH PTY output to filter out command echo-ing.