Inactivity Timeout Period Configuration, and Local and Remote Idle Session Termination
Configure Session Termination
Terminate the session after the security administrator specifies inactive timeout period.
Sample Output for Local Administrative Session Termination
con host Trying a.b.c.d... 'autologin': unknown argument ('set ?' for help). Connected to device.example.com Escape character is '^]'. Type the hot key to suspend the connection: <CTRL>Z FreeBSD/amd64 (host) (ttyu0) login: NDcPPv2-user Password: Last login: Sun Jun 23 22:42:27 from 10.224.33.70 --- JUNOS 22.2R1.10 Kernel 64-bit JNPR-12.1-20210529.2f59a40_build NDcPPv2-user@host> Warning: session will be closed in 1 minute if there is no activity Warning: session will be closed in 10 seconds if there is no activity Idle timeout exceeded: closing session FreeBSD/amd64 (host) (ttyu0)
Sample Output for Remote Administrative Session Termination
ssh NDcPPv2-user@host Password: Last login: Sun Jun 23 22:48:05 2019 --- JUNOS 22.2R1.10 Kernel 64-bit JNPR-12.1-20210529.2f59a40_build NDcPPv2-user@host> exit Connection to host closed. ssh NDcPPv2-user@host Password: Last login: Sun Jun 23 22:50:50 2019 from 10.224.33.70 --- JUNOS 22.2R1.10 Kernel 64-bit JNPR-12.1-20210529.2f59a40_build NDcPPv2-user@host> Warning: session will be closed in 1 minute if there is no activity Warning: session will be closed in 10 seconds if there is no activity Idle timeout exceeded: closing session Connection to host closed.
Sample Output for User Initiated Termination
ssh NDcPPv2-user@host Password: Last login: Sun Jun 23 22:48:05 2019 --- JUNOS 22.2R1.10 Kernel 64-bit JNPR-12.1-20210529.2f59a40_build NDcPPv2-user@host> exit Connection to host closed.