Hi folks, a simple ssh command like ssh -XAf localhost xeyes uses 100% CPU when the terminal goes away. There is no such problem for openssh 8.8 (or for using nohup). Same problem for other apps instead of xeyes (e.g. xterm) and for remote hosts instead of localhost. configure command line: ./configure --prefix=/usr/local/stow/openssh-8.9p1 --with-privsep-path=/tmp/empty I got the same problem using Debian's ssh client, see https://bugs.debian.org/1007822 Regards Harri
Better command line to reproduce the problem: xterm -e 'ssh -XAf localhost xeyes'
I couldn't reproduce this, but does the patch attached to bug #3405 help? https://bugzilla.mindrot.org/attachment.cgi?id=3581
Seems to be an improvement. The high CPU load is gone. strace shows that ssh isn't polling anymore. Moving back to the old ssh: Problem is back.
*** This bug has been marked as a duplicate of bug 3405 ***
closing bug resolved during openssh-9.0 release cycle