Hi Paul, David, James, and all others,
Thanks all for your suggestions. Here is what finally worked just to
pass it on. The funadamental problem was that I did not RTFM carefully
enough :-). At the end of the INSTALL file in the source contrib dir it
says to copy a version of the sshd.pam file to /etc/pam.d and rename it
to sshd. David suggested this. This did the trick! I am new to PAM so
you learn something new every day. Anyway, for everyone's info I was
using OpenSSH 2.3.0 that I had built from the source. Thanks again all
for your help.
Matt
Paul Baughman wrote:
>
> Hi Matt,
>
> I just ran into this problem the other day. The way I solved it was I
> re-configured with the following flags:
> --without-md5-passwords
> --without-shadow
> --without-pam
>
> I'm not sure, but I think the critical one was the --without-pam, because the log
> file was giving me errors from pam.
>
> Hope this helps.
>
> Paul Baughman
>
> Matt Schwartz wrote:
>
> > Hi,
> > I have just installed ssh on linux. I can use it as a client but and I
> > can start up the sshd daemon. However, whenever I connect to the daemon,
> > either from my local machine or from a remote machine, it says that my
> > password is invalid. I am not logging in as root and I have tried many
> > times and I know my password is valid. I have started sshd with 3 -d
> > flags and the debug info doesn't say anything revealing except that
> > authentication is failing. Is there some obvious setup step I am
> > missing? I have read many docs and the mail archives and I can't find
> > the answer to this problem. Any solutions are welcome. I am running Red
> > Hat Linux 6.2, using kernel version 2.2.14. Thanks!
> > - Matt