View Single Post
  #4   (View Single Post)  
Old 5th May 2008
anomie's Avatar
anomie anomie is offline
Local
 
Join Date: Apr 2008
Location: Texas
Posts: 445
Default

Quote:
Originally Posted by stukov
I must confess this machine runs Linux Red Hat.
No problems -- personally, I like the RHEL family very much.

Anyway, let me ask you: are you perchance restarting the iptables service around the same time that you are seeing those sshd restarts?

The reason I ask is I've noticed that if you have a default DROP policy for your INPUT chain, then restarting the iptables service may 1) terminate your current ssh connection; 2) generate unusual log messages from sshd similar to what you've posted.

If you (or someone) are not restarting iptables, then it looks like some process is trying to kill sshd and then fire up another one too quickly (since it says it can't bind to tcp 22). Maybe logrotate? Although that doesn't explain the seemingly random times you're seeing.
__________________
Kill your t.v.
Reply With Quote