Skip to Main Content

Infrastructure Software

Announcement

Testing banner

How can I do ssh (with pubkey on the same machine) in Solaris 10 connected to LDAP

StickosJan 19 2021

pam.conf.txt (4.05 KB)sshd_config.txt (5.36 KB)Hi community ! :)
First, I wish you a happy new year !
I have a question about Solaris 10 (I know it is an ooooold system)
So, I have connected a LDAP (OpenLDAP, LDAPv3) to my Solaris 10.
Authentication with LDAP is good (cf sshd_config) and I think my pam.conf is good too (cf pam.conf) because I managed to connect with LDAP users. However, we have allowed access to some users to other users throught a ssh key on the same machine (cf example).
Unfortunately, in this situation I cannot connect to this user.
Example on server A:
Ssh-keygen –t rsa
Copy/paste my pubkey on /home/user2/.ssh/authorized_keys
With my user1 :
Ssh –X user2@localhost
Connection closed by 127.0.0.1 :(
Someone have an idea ?
Regards
Adrien

This post has been answered by Stickos on Feb 1 2021
Jump to Answer
Comments
Post Details
Added on Jan 19 2021
13 comments
86 views