- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- to configure ssh timeout value
Operating System - HP-UX
1824976
Members
4032
Online
109678
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-13-2008 08:46 PM
тАО02-13-2008 08:46 PM
Hi,
we have HP-UX servers which we will connect from Suse Linux clients usinng ssh client
& use KSH for reusing the commands
In this scenario how & where to configure ssh timeout value so that when ssh session is idle for more than 15 mins automatically
the user has to be logged out of both KSH & SH shells
Thanks
we have HP-UX servers which we will connect from Suse Linux clients usinng ssh client
& use KSH for reusing the commands
In this scenario how & where to configure ssh timeout value so that when ssh session is idle for more than 15 mins automatically
the user has to be logged out of both KSH & SH shells
Thanks
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-13-2008 09:53 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-13-2008 10:00 PM
тАО02-13-2008 10:00 PM
Re: to configure ssh timeout value
Sorry i forgot to tell you you have to restart
the sshd daemon, to get the new config.
and have a look in this web page for more info on the parameters:
main page of sshd_config (http://www.openbsd.org/cgi-bin/man.cgi?query=sshd_config
the sshd daemon, to get the new config.
and have a look in this web page for more info on the parameters:
main page of sshd_config (http://www.openbsd.org/cgi-bin/man.cgi?query=sshd_config
Windows?, no thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-13-2008 10:48 PM
тАО02-13-2008 10:48 PM
Re: to configure ssh timeout value
ClientAliveInterval will cause a logout only when the client machine has been rebooted, or has lost power or network connectivity. It will not help if the client is still working OK but the user has walked away.
The ClientAliveInterval functionality is useful when you need a connection to remain idle but alive for a long time (e.g. monitoring some long-running program that will produce output only when there is an error) and there is a firewall that will stop passing data through if a connection has been idle for a while.
For disconnecting idle sessions, read the man pages of the shells: if you set the TMOUT environment variable, the shell will automatically disconnect idle sessions. If you want to make it a bit more difficult to override the setting, set it in /etc/profile and mark it read-only:
export TMOUT=900 # 900 s = 15 min
readonly TMOUT
MK
The ClientAliveInterval functionality is useful when you need a connection to remain idle but alive for a long time (e.g. monitoring some long-running program that will produce output only when there is an error) and there is a firewall that will stop passing data through if a connection has been idle for a while.
For disconnecting idle sessions, read the man pages of the shells: if you set the TMOUT environment variable, the shell will automatically disconnect idle sessions. If you want to make it a bit more difficult to override the setting, set it in /etc/profile and mark it read-only:
export TMOUT=900 # 900 s = 15 min
readonly TMOUT
MK
MK
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP