sshd won't start on FC4

patrick gibblertron at gmail.com
Mon Sep 26 21:16:04 UTC 2005


I installed a fresh, minimal install of FC4 (picked Custom install,
and left out all extras). For some reason, sshd won't start. The logs
show:

sshd[2658]: error: Bind to port 22 on 0.0.0.0 failed: Address already in use.

After some Googling, it seems that IPV6 is to blame, and adding
"AddressFamily inet" to /etc/ssh/sshd_config, seems to do the trick.
Someone said that it fails because it's trying to bind to port 22 on
IPV4 and IPV6 addresses, though I don't know enough about how that
works to confirm or deny that possibility.

I find it extremely difficult to believe that sshd wouldn't work out
of the box for on Fedora, but I also don't see anything wrong with how
I installed it. I'm coming from a FreeBSD background, and I'm used to
these things just working. Am I missing something here?

Thanks,

Patrick




More information about the users mailing list