LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 05-02-2011, 07:19 AM   #1
umen
LQ Newbie
 
Registered: May 2011
Posts: 4

Rep: Reputation: 0
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 ?
 
Old 05-02-2011, 10:37 AM   #2
MensaWater
Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 6,028
Blog Entries: 5

Rep: Reputation: 791Reputation: 791Reputation: 791Reputation: 791Reputation: 791Reputation: 791Reputation: 791
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.
 
Old 05-03-2011, 12:53 AM   #3
umen
LQ Newbie
 
Registered: May 2011
Posts: 4

Original Poster
Rep: Reputation: 0
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
 
Old 05-03-2011, 03:27 PM   #4
MensaWater
Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 6,028
Blog Entries: 5

Rep: Reputation: 791Reputation: 791Reputation: 791Reputation: 791Reputation: 791Reputation: 791Reputation: 791
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?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Slow SSH Login --> CentOS 5.0 --> VMware Server --> Plesk Control Panel 8.4.0 bskrakes Linux - General 11 12-17-2013 11:10 AM
ssh: connection to host port: 22: Connection timed out lost connection cucolin@ Linux - Server 4 11-22-2011 07:15 AM
[SOLVED] Cant SSH into CentOS 5.5 running on VMware under Windows 7 WallyWorld Linux - Virtualization and Cloud 5 01-25-2011 01:06 AM
ssh connection hanging centos rallymatte Linux - Networking 2 12-14-2009 05:35 PM
CentOS on VMware - Bridge Connection - Ping - Unknown host m_abdelfattah Linux - Newbie 8 08-03-2008 07:50 AM


All times are GMT -5. The time now is 11:19 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration