LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices


Reply
  Search this Thread
Old 03-20-2005, 09:12 PM   #1
deesto
Member
 
Registered: May 2002
Location: NY, USA
Distribution: FreeBSD, Fedora, RHEL, Ubuntu; OS X, Win; have used Slackware, Mandrake, SuSE, Xandros
Posts: 448

Rep: Reputation: 31
Question 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?
 
Old 03-21-2005, 07:22 PM   #2
JohnBoy
Member
 
Registered: Oct 2003
Distribution: Debian, RH, Knoppix, Ubuntu, CentOS
Posts: 62

Rep: Reputation: 15
What is auth.log reporting for the failed login attempts?
 
Old 03-21-2005, 07:47 PM   #3
deesto
Member
 
Registered: May 2002
Location: NY, USA
Distribution: FreeBSD, Fedora, RHEL, Ubuntu; OS X, Win; have used Slackware, Mandrake, SuSE, Xandros
Posts: 448

Original Poster
Rep: Reputation: 31
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Help ! cannot login via sshd kkempter Linux - Networking 5 03-03-2009 11:53 AM
SSHD error GraemeK Linux - Networking 2 05-16-2005 07:27 AM
SSHD : control login attempts Ben2210 Linux - Security 0 02-07-2005 05:31 AM
sshd error? ryedunn Linux - Security 2 12-30-2004 05:18 PM
sshd & login message JJX Linux - Newbie 5 04-23-2004 05:22 AM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 05:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration