Question & Answer
Question
Why remote hosts close SSH connection for some userids?
Answer
For a userID with both local and LDAP accounts not only the UID/GID but also the local and LDAP group names must also match. Otherwise, SSH will fail due to security. SSH wants the local user and LDAP users to be identical. Having consistent UID and GID numbers across multiple AIX servers is considered best practice.
# lsuser testUser
testUser id=12345 pgrp=system groups=system,staff .......
# lsuser testUser
testUser id=12345 pgrp=staff groups=system,staff,accounting …………
# lsldap -a group <primary group name for local/LDAP user account ex:staff>
Delete local account on the failing system to remove the conflict between local and LDAP accounts UID/GID and group names.
SUPPORT:
If additional assistance is required after completing all of the instructions provided in this document, please follow the step-by-step instructions below to contact IBM to open a case for software under warranty or with an active and valid support contract. The technical support specialist assigned to your case will confirm that you have completed these steps.
a. Document and/or take screen shots of all symptoms, errors, and/or messages that might have occurred
b. Capture any logs or data relevant to the situation.
c. Contact IBM to open a case:
-For electronic support, please visit the IBM Support Community:
https://www.ibm.com/mysupport
-If you require telephone support, please visit the web page:
https://www.ibm.com/planetwide/
d. Provide a good description of your issue and reference this technote
e. Upload all of the details and data to your case
-You can attach files to your case in the IBM Support Community
-Or Upload data to IBM testcase server analysis:
http://www.ibm.com/support/docview.wss?uid=ibm10733581
f. Click here to submit feedback for this document.
Related Information
Was this topic helpful?
Document Information
Modified date:
26 November 2019
UID
ibm11110057