ssh F7 problem: /etc/hosts?

William John Murray W.J.Murray at rl.ac.uk
Thu Jun 14 10:06:03 UTC 2007


  Hello there,
                 I have two machines running F7. Until last week ssh
between them was easy due to a id_dsa file in .ssh
   Today, I can ssh in or out of both f7 boxes to a SLC3 (~RHEL3) but 
I cannot connect from one to other.

Firstly, a new authentication method "gssapi-with-mic" is tried, but
this generates errors, and is very slow to move on:

 debug3: Trying to reverse map address XXX.YYY.ZZZ.UUU.
 debug1: Unspecified GSS failure.  Minor code may provide more
information 
 Unknown code krb5 7

 I think I would be happy to disable this if I knew how. But then
publickey is tried and fails:

debug1: Next authentication method: publickey
debug1: Offering public key: /home/murray/.ssh/id_dsa
debug3: send_pubkey_test
debug2: we sent a publickey packet, wait for reply
Connection closed by XXX.REMOTE.YYY

I fixed this (using a random google) by changing /etc/hosts from:
 127.0.0.1 me.domain me localhost.localdomain localhost
to
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?
           Thanks,
              Bill



-- 
__________________________________________________________
Bill Murray       w.j.murray at rl.ac.uk     (44)-1235-446256




More information about the fedora-list mailing list