HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- terminal time out setings in Linux
Operating System - Linux
        1839865
        Members
    
    
        2160
        Online
    
    
        110156
        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
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
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
06-05-2008 04:44 AM
06-05-2008 04:44 AM
[root@exgld179p root]# uname -a
Linux hostname 2.4.21-40.ELsmp #1 SMP Thu Feb 2 22:22:39 EST 2006 i686 i686 i386 GNU/Linux
[root@exgld179p root]# cat /etc/redhat-release
Red Hat Enterprise Linux AS release 3 (Taroon Update 7)
I access (using putty and ssh protocol) these servers thorugh WAN connection and after keeping idle for a period of time the session gets hang and i have to open another terminal to work with..
Any one know if any seteeing which could prevent that.
Solved! Go to Solution.
		2 REPLIES 2
	
	            
            
		
		
			
            
                - Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2008 05:33 AM
06-05-2008 05:33 AM
			
				
					
						
							Re: terminal time out setings in Linux
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						Change KeepAlive and ClientInterval ssh settings - http://ubuntu.wordpress.com/2006/02/03/keeping-ssh-sessions-alive/
regards,
ivan
		
		
	
	
	
regards,
ivan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2008 05:41 AM
06-05-2008 05:41 AM
Solution
			
				
					
					
						If the session hangs with no message, it suggests there might be a firewall/NAT device between the server and your putty client that stops TCP connections if they have been idle for a long time.
In the PuTTY configuration dialog, see the "Connection" page. There are two options that might help: "Enable TCP keepalives" and "Sending of null packets to keep session active". The TCP keepalives are nicer to the network, but they are not sent very often. If the firewall device has a short timeout, you might use the "sending of null packets" feature instead.
MK
		
		
	
	
	
In the PuTTY configuration dialog, see the "Connection" page. There are two options that might help: "Enable TCP keepalives" and "Sending of null packets to keep session active". The TCP keepalives are nicer to the network, but they are not sent very often. If the firewall device has a short timeout, you might use the "sending of null packets" feature instead.
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
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP