Why dup(), again and again?

David Newall openssh at davidnewall.com
Tue Oct 24 15:17:12 AEDT 2017


On 24/10/17 10:21, Peter Stuge wrote:
> David Newall wrote:
>> Ssh does not, of itself, use stdout; it has no reason to keep stdout open.
> Does escape processing only ever use stderr?

It uses /dev/tty, if there is one, else /dev/stderr (via readpassphrase(3).)


> And are sessions with channel muxing a concern?

I think not.  That's daemon-side cleverness; this is a client-side change.

> David Newall wrote:
>> I don't think you are trying to help.
> David, your communication style is horrible.

That's true.  I can't even say that it's a one-time aberration. It's 
something I've always struggled with on a daily basis.  Sorry.


More information about the openssh-unix-dev mailing list