We have a couple Fedora machines here and I'm trying to set up SSH so
we can get into them remotely.  I've got SSH to work at home so I'm a
little perplexed.

I configured sshd_config and started the service, locally I can ssh
into localhost, but only as root.  Remotely I can't even get in as
root (though I'm using "root" as the username, which might be wrong).
 When I try logging in as any of the user accounts it tells me I have
an incorrect password, but I'm pretty certain I'm entering the
password correctly.

Poking around, I think I might have found the problem, but don't know
how to solve it.  On a whim I checked /etc/passwd and /etc/shadow,
/etc/passwd didn't show anything useful but /etc/shadow shows all the
user accounts passwords in plain text, while the root password is
obviously encrypted.  I've never (to my knowledge) used /etc/shadow,
but I'm guessing that ssh is checking this file and treating the
plaintext passwords as encrypted passwords, which would cause them to
not match up when it compares the encrypted version of what I'm typing
in.

In any case, any advice would be appreciated.

-- 
John D. Mort
http://john.mort.net
_______________________________________________
Mid-Hudson Valley Linux Users Group                  http://mhvlug.org          
   
http://mhvlug.org/cgi-bin/mailman/listinfo/mhvlug                           
Upcoming Meetings (6pm - 8pm)                         MHVLS Auditorium          
        
  Mar 5 - Wearable Linux Computing
  Apr 2 - Building a Kernel the Debian / Ubuntu way
  May 7 - Setting up a platform-independent home/small office network using 
Linux
  Jun 4 - TBD
  Jul 2 - KVM (Tenative)

Reply via email to