ssh F7 problem: /etc/hosts?
ignored_mailbox at yahoo.com.au
Thu Jun 14 11:04:08 UTC 2007
On Thu, 2007-06-14 at 11:06 +0100, William John Murray wrote:
> I fixed this (using a random google) by changing /etc/hosts from:
> 127.0.0.1 me.domain me localhost.localdomain localhost
> 127.0.0.1 localhost.localdomain localhost
> So now ssh works again. But there is stern warning in /etc/hosts about
> editing this line.
> Have I done something bad?
The warning is that the line should be as:
127.0.0.1 localhost.localdomain localhost
And not modified from that (without concern for the consequences).
Unfortunately, most people don't see that warning before the line has
been modified. The warning is badly worded.
If you have a network, then it'll have some other address than the local
loopback ones (the 127.0.0.1 one), and that's where your hostname should
be applied (to the interface between it and something else). This
association does not have to be done using the hosts file, it can be
done through DNS.
(This box runs Centos 5.0, my others still run FC4, FC5, FC6 & FC7 in case that's
important to the thread.)
Don't send private replies to my address, the mailbox is ignored.
I read messages from the public lists.
More information about the fedora-list