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 ?
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
Add the following line to the /etc/ssh/ssh_config file:
The number is the amount of seconds before the server with send the no-op code.
A signal 15 in the log indicates something more serious then just a timeout issue.
I would run
strace -p PID
for the sshd process and see why it's actually dieing.You should also try ssh from the server to localhost and see if that's stable. For example:
ssh root@0
Definitely you should install any available CentOS upgrades as well. If the problems persist, then try reinstall the SSH server package in case it's been compromised or corrupted somehow.