LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   Logwatch reports SSHD Killed: / Failed to bind: 0.0.0.0 port 22 (https://www.linuxquestions.org/questions/linux-security-4/logwatch-reports-sshd-killed-failed-to-bind-0-0-0-0-port-22-a-352499/)

rioguia 08-12-2005 08:31 AM

Logwatch reports SSHD Killed: / Failed to bind: 0.0.0.0 port 22
 
Could someone tell me where I could find an explanation of a currious Logwatch report? I have SSHD and IPV6 disabled via system-config-services but I am getting the following curious entries.

SSHD Killed: 1 Time(s)

SSHD Started: 1 Time(s)

Failed to bind:
0.0.0.0 port 22 (Address already in use) : 1 Time(s)

I found a reference suggesting that this is related to IPV6 here but could not find a sufficient explanation.
http://readlist.com/lists/redhat.com...ist/0/586.html

Capt_Caveman 08-13-2005 12:24 PM

My understanding is that sshd tries to bind port 22 using IPv6 first and next tries to bind port 22 on the IPv4 address in case the first attempt failed. If the first attempt was successful, then the second attempt fails due to the port already being bound. If you set a specific IP address in the "ListenAddress" directive of the sshd_config file, then you shouldn't get the error.


All times are GMT -5. The time now is 02:50 AM.