?
Solved

Linux time out

Posted on 2007-07-26
8
Medium Priority
?
274 Views
Last Modified: 2013-12-16
I have a linux server.  I login after 10 minutes or so it disconnects me.
How can I extend the timing out session or removing it?
0
Comment
Question by:rvaede
  • 4
  • 4
8 Comments
 
LVL 43

Expert Comment

by:ravenpl
ID: 19575255
Do You login via ssh/telnet?
For ssh use -o "ServerAliveInterval 10"

If there's no traffic on connection, many firewalls simply drops such connection.
0
 

Author Comment

by:rvaede
ID: 19575281
I use putty to login to the server
0
 
LVL 43

Expert Comment

by:ravenpl
ID: 19575329
0
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 

Author Comment

by:rvaede
ID: 19575391
This does not happen to unix servers just the linux servers
0
 
LVL 43

Accepted Solution

by:
ravenpl earned 500 total points
ID: 19575632
Use the keepalive. It's possible that linux firewall is dropping connections after they 10 idle.
0
 

Author Comment

by:rvaede
ID: 19575832
actually the user who I was assisting is using ssh.  I thought he was using putty
thanks


0
 

Author Comment

by:rvaede
ID: 19575905
Can you please explain the ServerAliveInterval 10,  I don't understand the 10 represents what.
I looked it up online, and I am confused
0
 
LVL 43

Expert Comment

by:ravenpl
ID: 19576266
    ServerAliveInterval
             Sets a timeout interval in seconds after which if no data has been received from the server,
             ssh will send a message through the encrypted channel to request a response from the server.
             The default is 0, indicating that these messages will not be sent to the server.  This option
             applies to protocol version 2 only.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Suggested Courses
Course of the Month16 days, 9 hours left to enroll

864 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question