ssh session suddenly closed after successfully login.
Linux server integrated to Active Directory , joined domain , pulled all users and groups from domain.
When user from AD tries to login using ssh , it gives below errors and closes SSH session.
sshd: pam_unix(sshd:session): session opened for user
sshd: pam_unix(sshd:session): session closed for user
Does anyone know how to fix this issues.
You should at least provide the product and the distribution and version of Linux you are using This may not be the right forum. Perhaps you would like to give "Likewise Open" a try, which is a free Open Source product and apparently simplifies the task to join Linux and other systems to AD.
Linux = OEL 5.7 Integrating to Active Directory on Windows 2008 server .
Hardware = Dell Blades on X86
Problem Description: Linux (OEL5.7) SSH login fails with pam_unix(sshd:session): session closed for user.
Linux server 2.6.18-2188.8.131.52.1.el5 is integrated to Active Directory and joined the domain. The server can pull user and groups from Active Directory.
While Active Directory users try to login to Linux through SSH , it throws below error on /var/log/secure and closes the session immediately.
Nov 1 12:54:30 LNTTARITETSDB1 sshd: pam_unix(sshd:session): session opened for user rmokkala by (uid=0)
Nov 1 12:54:42 LNTTARITETSDB1 sshd: pam_unix(sshd:session): session closed for user rmokkala