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? |
What is auth.log reporting for the failed login attempts?
|
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. |