Description of problem: When using `ssh localhost -o "SessionType none"` I can connect just fine but cannot kill the process with ctrl+c. However, when using `ssh localhost -N`, I can use ctrl+c to kill the process. Version-Release number of selected component (if applicable): openssh-8.8p1-7.fc37.x86_64 Additional info: Someone else tested it on Ubuntu using version 8.9, he couldn't reproduce it. So maybe an update of OpenSSH to 8.9 or newer works.
Could you please try packages from rawhide (OpenSSH 9.0+)?
I've done the following. * dnf in fedora-repos-rawhide * sudo dnf --disablerepo=* --enablerepo=rawhide --releasever=38 update openssh * systemctl restart sshd * ssh localhost -o "SessionType none" And now I can properly kill the SSH session. That version also fixes it. * After that I rolled back with `dnf history undo last`