cisco session-timeout vs exec-timeout

Cisco “exec-timeout” command is used to specify the timeout for exec sessions like telnet/ssh. Whereas “session-timeout” command specifies the idle timeout period for ALL THE SESSIONS. The default interval is zero, indicating the device maintains the connection indefinitely.

Use “exec-timeout” command, and best practice timeout period is 10 minutes.