Linode Forum Index Linode Forum
Linode Community Forums
 


ssh kicks me off

Click here to go to the original topic

 
       Linode Forum Index -> Linux Networking
Author Message
lilmike



Joined: 12 Nov 2009
Posts: 45
Location: Baton Rouge, Louisiana

Posted: Fri Apr 29, 2011 10:57 am    Post subject: 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: pam_open_session(): Module is unknown
Any help is appreciated.
Thanks,
-Michael.
Back to top  
lilmike



Joined: 12 Nov 2009
Posts: 45
Location: Baton Rouge, Louisiana

Posted: Tue May 03, 2011 12:40 pm    Post subject:  

Hi,
Anyone have any ideas? -- I'm stuck using lish until I can get this resolved.
Thanks,
-Michael.
Back to top  
waldo



Joined: 21 May 2009
Posts: 336

Posted: Tue May 03, 2011 12:50 pm    Post subject:  

Does this help?

http://www.google.com/search?q=PAM:+pam_open_session():+Module+is+unknown

https://answers.launchpad.net/ubuntu/+source/openssh/+question/33707
Back to top  
lilmike



Joined: 12 Nov 2009
Posts: 45
Location: Baton Rouge, Louisiana

Posted: Tue May 03, 2011 6:15 pm    Post subject:  

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.
Back to top  
lilmike



Joined: 12 Nov 2009
Posts: 45
Location: Baton Rouge, Louisiana

Posted: Sun May 08, 2011 6:48 pm    Post subject:  

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.
Back to top  
lilmike



Joined: 12 Nov 2009
Posts: 45
Location: Baton Rouge, Louisiana

Posted: Mon May 09, 2011 2:08 pm    Post subject:  

Hi,
I'm still really confused about how I can fix this, and googling is no help.
Anyone know?
Thanks,
-Michael.
Back to top  
waldo



Joined: 21 May 2009
Posts: 336

Posted: Mon May 09, 2011 2:36 pm    Post subject:  

Do you happen to be doing anything with LDAP?

http://eatingsecurity.blogspot.com/2008_09_01_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
Back to top  
 
       Linode Forum Index -> Linux Networking
Page 1 of 1