LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices

Reply
 
Search this Thread
Old 08-12-2005, 08:31 AM   #1
rioguia
Member
 
Registered: Jun 2002
Posts: 411

Rep: Reputation: 30
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
 
Old 08-13-2005, 12:24 PM   #2
Capt_Caveman
Senior Member
 
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 57
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.
 
  


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
Failed networking killed dial up? Ravo Linux - Networking 3 11-18-2005 05:14 PM
Logwatch sshd twantrd Debian 5 05-23-2005 12:05 PM
timestamped sshd logs with logwatch ddaas Linux - Networking 1 04-30-2005 02:34 PM
sshd bind error nex6 Linux - Security 1 08-07-2004 10:37 PM
sshd failed vcheah Linux - Software 0 12-31-2001 03:49 PM


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

Main Menu
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