- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Putty disconnects after few minutes
Categories
Company
Local Language
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
Discussions
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
Community
Resources
Forums
Blogs
- 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-17-2014 02:34 AM - last edited on 02-17-2014 06:05 PM by Maiko-I
02-17-2014 02:34 AM - last edited on 02-17-2014 06:05 PM by Maiko-I
Putty disconnects after few minutes
I am accessing servers through putty via ssh. For some servers if the putty session kept idle for few minutes it gives the message that "Network connection time out". Where as for other servers it does not give this kind of message after few hour idle time.
My question is how to make putty connection active after few hours idle time. All my server OS is hp-ux 11.23
Please help me in this regards.
P.S. This thread has been moved from HP-UX > General to HP-UX > networking. - Hp Forum moderator
- Tags:
- putty
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2014 02:44 AM
02-17-2014 02:44 AM
Re: Putty disconnects after few minutes
Have you tried setting Putty's Connection > keepalives?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2014 03:50 AM
02-17-2014 03:50 AM
Re: Putty disconnects after few minutes
For the servers where putty is active for few hours idle time
Putty's Connection > keepalives is 0
For the servers where putty is inactive for few minutes idle time
Putty's Connection > keepalives is also 0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2014 10:58 AM
02-26-2014 10:58 AM
Re: Putty disconnects after few minutes
Hi,
You should check the timeout configs on your servers(sshd config), and firewalls.
You are probably working around a NAT translation or dynamic firewall rule timeout problem by making sure traffic is sent more often than the timeout. You could fix the problem for all long-lived TCP connections by adjusting the timeout on the firewall or router to a more reasonable value. Or modify in the sshd_config of the servers the Client Aliver interval:
ClienAliveInterval to 3600 (one hour).
$ sudo grep Alive /etc/ssh/sshd_config ClientAliveInterval 3600 TCPKeepAliveyes
Also Check again your putty config:
:: -> 'Connection'
::* check "Disable Nagle's algorithm (TCP_NODELAY option)"
::* check "Enable TCP keepalives (SO_KEEPALIVE option)"
:: -> 'Connection' -> 'SSH' -> 'X11'
::* check "Enable X11 forwarding"
::* Select "Enable MIT-Magic-Cookie-1"
:: Save the session