crash-diagnostics
crash-diagnostics copied to clipboard
SSH result from standard err can clear standard out when combined output is used
The internal SSH client used is from golang.org/x/crypto/ssh. It appears when combined output is used, the ssh.Session.Stderr will override the ssh.Session.Stdout stream invalidating the result from stdout.
See the client.go in ssh package.