LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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, 06: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, 09:37 AM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
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-02-2011, 11:53 PM   #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, 02:27 PM   #4
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
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



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 12 01-05-2015 05:32 AM
ssh: connection to host port: 22: Connection timed out lost connection cucolin@ Linux - Server 4 11-22-2011 06:15 AM
[SOLVED] Cant SSH into CentOS 5.5 running on VMware under Windows 7 WallyWorld Linux - Virtualization and Cloud 5 01-25-2011 12:06 AM
ssh connection hanging centos rallymatte Linux - Networking 2 12-14-2009 04:35 PM
CentOS on VMware - Bridge Connection - Ping - Unknown host m_abdelfattah Linux - Newbie 8 08-03-2008 06:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:08 PM.

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
Open Source Consulting | Domain Registration