3 ms·
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
by basicer 8y 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