Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Mar 2001 12:04:52 +0000
From:      Mark Drayton <mark.drayton@4thwave.co.uk>
To:        Power JeSsIe! <jessie@power-jessie.net>
Cc:        "questions@FreeBSD. ORG" <questions@FreeBSD.ORG>
Subject:   Re: error in ssh!
Message-ID:  <20010301120452.A5432@tethys.valhalla.net>
In-Reply-To: <NEBBJJKPMLNMNBFHAAFIAENACDAA.jessie@power-jessie.net>; from jessie@power-jessie.net on Thu, Mar 01, 2001 at 07:33:22PM -0800
References:  <NEBBJJKPMLNMNBFHAAFIAENACDAA.jessie@power-jessie.net>

next in thread | previous in thread | raw e-mail | index | archive | help
> i have successfully upgraded my freebsd 4.1.1RELEASE
> to 4.2STABLE and everything seems to work just fine
> but when i try remote logging on to the server via ssh
> the following error came out:
> 
> no modules loaded for 'sshd' service
> fatal: PAM session setup failed[6]: Permission denied
> no modules loaded for 'sshd' service

You didn't read /usr/src/UPDATING. You need to add these lines to your
/etc/pam.conf:

sshd    auth    sufficient      pam_skey.so
sshd    auth    required        pam_unix.so		try_first_pass
sshd    session required		pam_permit.so

You can get also get these updates by letting mergemaster replace your
pam.conf

Cheers,

-- 

Mark Drayton

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010301120452.A5432>