Adjust the default timeout session of SSh and Web Management Console in ProxySG.
A Command Line Interface (CLI) or Graphical User Interface (GUI) session remains open as long as there is activity. If a session becomes idle, the connection eventually times out and a reconnect is required. The default values of management sessions can be changed by navigating to Configuration tab > Authentication > Console Access > Console Account tab. Change values of "Enforce Web auto-logout" and "Enforce CLI auto-logout" to required values.
Commands on CLI:
proxy#(config)security management cli-timeout <value in mins>
proxy#(config)security management web-timeout <value in mins>
Note: It is not a recommended best practice to disable timeout or configure a higher value for security reasons.