Inactivity Timeout Period Configuration, and Local and Remote Idle Session Termination
Configure Session Termination for Security Administrator
To configure the session termination for Security Administrator:
Configure Session Termination for User
The Security Administrator configure the session termination for users.
Sample Output for Local Administrative Session Termination for User
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
login: username
Password:
Last login: Sun Jun 23 22:42:27 from 10.224.33.70
--- JUNOS 24.4R2.18-EVO Linux (none) 5.15.142-10.22.33.14-yocto-standard-juniper-12618-gbc954d8cb562
user-username@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
host login: user-username Password: Last login: Thu Oct 30 12:23:29 IST 2025 on ttyS0 --- JUNOS 24.4R2.18-EVO Linux (none) 5.15.142-10.22.33.14-yocto-standard-juniper-12618-gbc954d8cb562 #1 SMP PREEMPT Mon Jun 30 07:42:59 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux user-username@host:fips> configure Entering configuration mode [edit] user-username@host:fips# [edit] user-username@host:fips# exit Exiting configuration mode user-username@host:fips> exit host login:
Sample Output for Remote Administrative Session Termination for User
ssh user-username@host Password: Last login: Sun Jun 23 22:48:05 2019 --- JUNOS 24.4R2.18-EVO Linux (none) 5.15.142-10.22.33.14-yocto-standard-juniper-12618-gbc954d8cb562 user-username@host> exit Connection to host closed. ssh user-username@host Password: Last login: Sun Jun 23 22:50:50 2019 from 10.224.33.70 --- JUNOS 24.4R2.18-EVO Linux (none) 5.15.142-10.22.33.14-yocto-standard-juniper-12618-gbc954d8cb562 user-username@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 user-username@host Password: Last login: Sun Jun 23 22:48:05 2019 --- JUNOS 24.4R2.18-EVO Linux (none) 5.15.142-10.22.33.14-yocto-standard-juniper-12618-gbc954d8cb562 user-username@host> exit Connection to host closed.