However, the openssh shipped with Fedora doesn't support this option.
Two workarounds are:
- Apply openssh watchdog patch
- use TMOUT for shell
#set the idle timeout for ssh to 10minutes
Notice here, need to set the TMOUT to readonly, otherwise users can override it.