ssh connection keep disconected , how to find way? in CentOs vmware
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
ssh connection keep disconected , how to find way? in CentOs vmware
Hello i have CentOS installed on vmware , few days ago every thing was working fine. today every time im connect with putty to the CentOs server after few minutes it disconnect me , how can i find what is the reason ?
So you're connecting and are able to run commands and then it disconnects later?
If you're using bash or ksh or one of the other Bourne/Korn shell variants run "echo $TMOUT" to see if that variable is set. That variable tells the system to log you out after the number of seconds specified in the variable. Many System Administrators put it in place to close sessions that aren't in active use.
well the variable is empty , also when i check /var/log/secure im getting :
Jan 23 18:01:09 localhost sshd[17461]: Exiting on signal 15 when i check the "/var/log/messages" there is nothing that says something about this signal my iptables is closed
Signal 15 is the default signal (a/k/a SIGTERM) sent with the "kill" command. (It can also be sent with "kill -15". The message is saying something is killing your process. That might be difficult to track - maybe there is a cron job or a daemon someone has created that is killing idle users?
Does the terminal die if you have something open (e.g. a vi session) after login or only when nothing is open?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.