On 2004-02-18, Anthony Campbell penned: > On 18 Feb 2004, Monique Y. Herman wrote: >> On 2004-02-18, Anthony Campbell penned: >> > I'm trying to run ssh between two computers but I get: >> > >> > "connect to host port 22: Connection refused." >> > >> > I have portmapper turned off for security, but is it essential for >> > ssh? >> >> I don't know about this one, but I don't think so? >> >> > Also, what is the hostname I have to supply? The FQDN seems to be >> > acampbell.org.uk but this is the same for both computers, which >> > doesn't seem to be right. >> >> Two machines should not resolve to the same FQDN. >> >> -- monique >> > > Can you enlarge on this? One computer, hostname arcadia, resolves to > arcadia and (with hostname -f) to acampbell.org.uk. > > The other, hostname mimosas, resolves to mimosas and (with -f) to > acampbell.org.uk. > > So is something misconfigured?
Well, here's the thing. When someone tries to ping acampbell.org.uk, which one of those machines do you want the ping to use? While I suppose that I could tell two machines that they have the same name, and then only refer to one of them by that name externally, it sounds like a mess to me. I would look in /etc/hosts for both machines and see what is defined for both 127.0.0.1 and for the "real" IP address of the machine. Note: I am by no means a DNS expert. It just seems awfully strange to me to have two machines believing they have the same name. While I can't think of any exact reason this would cause trouble, I have this gut feeling that it would. -- monique -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]