Visit the LQ Articles and Editorials section
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


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

Rep: Reputation: 30
Logwatch reports SSHD Killed: / Failed to bind: 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: 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.
Old 08-13-2005, 01:24 PM   #2
Senior Member
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

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


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 06:14 PM
Logwatch sshd twantrd Debian 5 05-23-2005 01:05 PM
timestamped sshd logs with logwatch ddaas Linux - Networking 1 04-30-2005 03:34 PM
sshd bind error nex6 Linux - Security 1 08-07-2004 11:37 PM
sshd failed vcheah Linux - Software 0 12-31-2001 04:49 PM

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration