MaxSessionDuration specifies when SSH session renegotiation is to occur. This does not disconnect the user, it just renegotiates encryption keys. Forcing reauthentication is not supported by the SSH protocol.
Disconnect users after a period of inactivity is not currently supported, although some form of it can be implemented by closing instances of
ServerSession obtained through
FileServer.Sessions, although detecting inactivity might be tricky.