Re: What happened to SSH?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Found this on the net:

It's because :: is IPv6 address, and this is what SSH binds to when it first start's, being that IPv4 is also enabled, when it tries to bind to the IPv4 address, it find's that it is already being used.

Possibly disable IPv6 support in kernel (?) or use the ListenAddress option in your SSHD server config file.

If you're not using IPv6, just disable it in sshd_config:

ListenAddress 0.0.0.0
#ListenAddress ::

(or bind the ListenAddress to a specific IP)

Mike

ATN Networks
Dirk de Derdelaan 215
3132 HE VLAARDINGEN
url: www.atn-networks.nl
mail: mike@xxxxxxxxxxxxxxx
mobiel: 06 - 28 11 49 91

Voor al uw hostinggebonden oplossingen



Ashley M. Kirchner schreef:

Something happened after the last openssh update. Now every time ssh is (re)started, I get this message in my syslog:

Nov 14 08:16:57 lansky sshd[1760]: Server listening on :: port 22.
Nov 14 08:16:57 lansky sshd[1760]: error: Bind to port 22 on 0.0.0.0 failed: Address already in use.

That was after a server restart this morning (to boot up the new 2239 kernel). The thing is, it does start up, it does run. And I can shut it down completely (service sshd stop) and I can verify that no ssh process is running and that there's nothing listening on port 22 ('nmap -sS localhost' and by actually trying to connect to port 22 with another machine). Yet when I tell it to start ssh again, it starts, but not after complaining with the above message.

   Soooo, inquiring minds want to know.


--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux