ssh -f and -O ControlPersist=yes, ControlMaster=yes leaves stderr open

Mihai Moldovan ionic at
Mon Mar 16 17:54:13 AEDT 2020

* On 3/14/20 4:05 PM, Christoph Anton Mitterer wrote:
> Sounds a bit like:

Thanks. Yep, it's quite similar. #1988 essentially implemented the stderr
closing behavior I've pointed out in the "normal" ControlPersist case.

However, the -f flag effectively overrides this behavior and uses the "-f code
path" instead, which does not close stderr.

I consider this a sibling incarnation of #1988 and will open another bug report
for this.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 899 bytes
Desc: OpenPGP digital signature
URL: <>

More information about the openssh-unix-dev mailing list