How to prevent ssh connection closing from screen lockout
remote ssh connections are closed after pressing control+command+Q to lockout screen.
Pretty sure the macOS does not go to sleep during lockout.
I've tried changing battery settings and all those pmset commands, it does not work. I've also tried modify ssh config file, it does not work either.
Is there a way to keep ssh connection on during screen lock?
MacBook Pro (M4)