Hacker News new | ask | show | jobs
by basicer 2790 days ago
SSH only separates the streams when you don't request a PTY. For example try:

  ssh localhost -t 'echo hi 1>&2'  2>test
vs

  ssh localhost 'echo hi 1>&2'  2>test