Date: Mon, 05 Feb 2001 13:47:16 -0500 From: Bob Johnson <bob@eng.ufl.edu> To: andreas@kpnqwest.no Cc: questions@freebsd.org Subject: Re: sshd[11456]: fatal: PAM session setup Message-ID: <3A7EF534.8D3A1354@eng.ufl.edu>
next in thread | raw e-mail | index | archive | help
> > Date: Mon, 05 Feb 2001 10:08:33 +0100 > From: Andreas Wideroe Andersen <andreas@kpnqwest.no> > Subject: Re: sshd[11456]: fatal: PAM session setup > > At 21:54 05.02.01 +1300, Juha Saarinen wrote: > >Did you remember to do 'mergemaster' to sort out your config files after > >the upgrade? > > > > Don't think it has anything to do with that, have tested without results.=20 > The thing is the latest sshd uses PAM for authetication, something that=20 > doesn't work 100% well always (according to someone I spoke to).. I could=20 > just compile up ssh without PAM support, but I cannot locate the correct=20 > Makefile and which line I should comment out in that case. > It has everything to do with it. You must update your /etc/pam.conf file so it has entries for sshd. If you don't, you will get exactly the error messages you report. Running mergemaster will semi-automate this (and other config file updates) for you. If you insist on doing it manually, try sshd auth sufficient pam_skey.so sshd auth required pam_unix.so try_first_pass sshd session required pam_permit.so which you should find in /usr/src/etc/pam.conf - Bob > /Andreas > > >Don > > > >On Mon, 5 Feb 2001, Andreas Wideroe Andersen wrote: > > > > > I just upgraded my system from FreeBSD 4.1 Stable to 4.2 Stable. After > > > making world and compiling a new Kernel I was unable to ssh into the > > > machine. However, it was no problem to ssh out! > > > > > > Here is my error message when ssh'ing to localhost: > > > > > > Feb 5 09:10:04 killah sshd[11456]: no modules loaded for `sshd' service > > > Feb 5 09:10:04 killah sshd[11456]: no modules loaded for `sshd' service > > > Feb 5 09:10:04 killah sshd[11456]: fatal: PAM session setup > > > failed[6]: Permission denied > > > Feb 5 09:10:04 killah sshd[11456]: fatal: PAM session setup > > > failed[6]: Permission denied > > > Feb 5 09:10:04 killah sshd[11456]: no modules loaded for `sshd' service > > > Feb 5 09:10:04 killah sshd[11456]: no modules loaded for `sshd' service > > > Connection to killah.mydomain.com closed by remote host. > > > > > > Can anyone help me out with this problem? > > > > > > Thanks, > > > Andreas > > > > > > 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?3A7EF534.8D3A1354>