ssh kicks me off

Hi,

I just upgraded to ubuntu 11.04, and now whenever I ssh in from where ever I happen to be, it logs me in, and then immediately kicks me off. The only way I can get into my server now is with the linode shell. I know it logs me in, but it doesn't let me stay logged in. I am also getting this error: error: PAM: pamopensession(): Module is unknown

Any help is appreciated.

Thanks,

-Michael.

6 Replies

Hi,

Anyone have any ideas? – I'm stuck using lish until I can get this resolved.

Thanks,

-Michael.

Does this help?

http://www.google.com/search?q=PAM:+pam … is+unknown">http://www.google.com/search?q=PAM:+pamopensession():+Module+is+unknown

https://answers.launchpad.net/ubuntu/+s … tion/33707">https://answers.launchpad.net/ubuntu/+source/openssh/+question/33707

Hi,

That wasn't quite it, as I'm not getting those same errors. I'm simply getting the module is unknown, which googling produces almost nothing. (and yes, I've googled a bunch.)

Any help is appreciated.

Thanks,

-Michael.

Hi,

I just remembered something. When I was upgrading, I accidentally didn't say install the package maintainer's version of /etc/security/something.conf, perhaps this could have something to do with it? If so, how do I get that file back to the default?

Thanks,

-Michael.

Hi,

I'm still really confused about how I can fix this, and googling is no help.

Anyone know?

Thanks,

-Michael.

Do you happen to be doing anything with LDAP?

http://eatingsecurity.blogspot.com/2008 … inistrivia">http://eatingsecurity.blogspot.com/20080901_archive.html#administrivia

I can only think that you have something trying to use PAM and the upgrade either didn't upgrade PAM or removed PAM. I can only suggest grepping through /etc to see where anything PAM might be getting called from.

Most likely /etc/ssh/sshd_config

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct