LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   *BSD (https://www.linuxquestions.org/questions/%2Absd-17/)
-   -   sshd login error (https://www.linuxquestions.org/questions/%2Absd-17/sshd-login-error-304100/)

deesto 03-20-2005 09:12 PM

sshd login error
 
I just finished updating a FBSD 5.3-BETA7 machine to 5.3-RELEASE. Everything seems to be going fine, except I can no longer ssh into my machine, not even from the terminal on the host.

At first it was failing silently, the "ssh -v" showed a "no more authentication methods to try" message. I found a passage in a SSHD book that says to copy sshd.pam from the OpenSSH contrib folder in src to /etc/pam.d/ssh, and change the owner to root and permissions to 664. This certainly did something, as -v now shows quite a different message, but it's not fixed:
invalid facility 'sshd' (ignored)
fatal: PAM: initialisation failed

Am I taking the wrong route to solving the problem?

JohnBoy 03-21-2005 07:22 PM

What is auth.log reporting for the failed login attempts?

deesto 03-21-2005 07:47 PM

Actually, I ended up finding the answer here:
http://www.freebsd.org/cgi/cvsweb.cg...34&r2=1.35&f=h

Apparently, the default value of the parameter "PasswordAuthentication" was changed from "yes" to "no" in the latest version of sshd_config. It was enough to keep me from being able to log in. Changing it back to "yes" seems to have done the trick for me.


All times are GMT -5. The time now is 01:16 PM.