Configuring 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: NDcPPv3-user
Password:
Last login: Sun Feb 16 22:14:09 2025 from 10.220.196.20
--- JUNOS 24.2R2.18 Kernel 64-bit JNPR-15.0-20240618.78e5114_buil
NDcPPv3-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 NDcPPv3-user@host
Password:
Last login: Sun Feb 16 22:12:15 2025
--- JUNOS 24.2R2.18 Kernel 64-bit JNPR-15.0-20240618.78e5114_buil
NDcPPv3-user@host> exit
Connection to host closed.
ssh NDcPPv3-user@host
Password:
Last login: Sun Feb 16 22:14:09 2025 from 10.220.196.20
--- JUNOS 24.2R2.18 Kernel 64-bit JNPR-15.0-20240618.78e5114_buil
At least one package installed on this device has limited support.
Run 'file show /etc/notices/unsupported.txt' for details.
NDcPPv3-user@host:RE:0% cli
{master:0}
NDcPPv3-user@host> Warning: session will be closed in 10 seconds if there is no activity
Idle timeout exceeded: closing session
NDcPPv3-user@host:RE:0% auto-logout
Connection to host closed.
Sample Output for User Initiated Termination
ssh NDcPPv3-user@host Password: Last login: Mon Feb 17 01:17:22 2025 from 10.220.208.13 --- JUNOS 24.2R2.18 Kernel 64-bit JNPR-15.0-20240618.78e5114_buil At least one package installed on this device has limited support. Run 'file show /etc/notices/unsupported.txt' for details. NDcPPv3-user@host:RE:0% NDcPPv3-user@host:RE:0% exit logout Connection to host closed.