Cisco Headend Digital Broadband Delivery System
Chapter 3 Sessions
28
4034689 Rev A
Login Time Limit
Login Time Limit Defaults
The system will stop responding after a configurable number of seconds if the user
does not log into the OS during that time.
does not log into the OS during that time.
Note: The session login time does NOT apply to remote web access to the
Administrative Console.
Administrative Console.
Default number of seconds before sessions stop: 10 minutes
Recovery: User must restart and log into sessions again
Note: Some software behaves differently from others; some freeze and must be
restarted, others do not freeze, but must be logged into again.
Note: Some software behaves differently from others; some freeze and must be
restarted, others do not freeze, but must be logged into again.
Changing the Login Time Limit for SSH and SFTP
Note: This topic applies to the OS login on the DNCS, the RNCS, and the
Application Server.
1 Open an xterm window on the system.
2 Log into the system as root:
Application Server.
1 Open an xterm window on the system.
2 Log into the system as root:
a
At the prompt, type
su -
and press Enter.
b Type the root password and press Enter.
3 Type
cd /etc/ssh
and press Enter.
4 Open the sshd_config file in a UNIX text editor.
5 Locate the following line in the login file:
5 Locate the following line in the login file:
LoginGraceTime 600
6 Change the login time limit to the time that you prefer.
Notes:
Enter the time as a number of seconds.
Examples:
– To enter a login time limit of 3 minutes, change the field to
Examples:
– To enter a login time limit of 3 minutes, change the field to
LoginGraceTime 180
– To enter a login time limit of 15 minutes, change the field to
LoginGraceTime 900
– To disable the login time limit, change the field to
LoginGraceTime 0
We recommend that you keep the time limit as short as possible. This helps
prevent unauthorized use of your system.
prevent unauthorized use of your system.
7
Save the sshd_config file and close the text editor.