[Bug 2008] New: IPV6 Bind to port 22 failed

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Mon May 14 17:19:06 EST 2012


https://bugzilla.mindrot.org/show_bug.cgi?id=2008

             Bug #: 2008
           Summary: IPV6 Bind to port 22 failed
    Classification: Unclassified
           Product: Portable OpenSSH
           Version: 5.9p1
          Platform: ix86
        OS/Version: Linux
            Status: NEW
          Severity: critical
          Priority: P2
         Component: sshd
        AssignedTo: unassigned-bugs at mindrot.org
        ReportedBy: kchen001 at alcatel-lucent.com


After upgraded to openssh 5.9p1, we cannot ssh to this node from other,
and find that port22 didn't bind ipv6 interface, after restart sshd it
works well.

We found this issue is resolved in official redhat version4.3p2, and in
the comments#18, it reused the source code of OpenSSH.

https://bugzilla.redhat.com/show_bug.cgi?id=640857

Here's the secure log:

grep error secure* secure:May  7 15:07:25 wc3il01pdanic1v1 sshd[27451]:
error: Bind to port 22 on 0.0.0.0 failed: Address already in use.


It's our ssh version:
]# rpm -qa|grep openssh
openssh-5.9p1-1
openssh-clients-5.9p1-1
openssh-server-5.9p1-1

In /var/log/secure we found the following statement:
May  7 18:02:00 wc3il01pddnic2v1 sshd[6124]: Received signal 15;
terminating.
May  7 18:02:00 wc3il01pddnic2v1 sshd[3919]: error: Bind to port 22 on
:: failed: Address already in use.
May  7 18:02:01 wc3il01pddnic2v1 sshd[3919]: Server listening on
0.0.0.0 port 22.

-- 
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list