There are multiple ways of adding ssh keys to ldap.
1.
Download Apache Directory Studio
2. Extract and Install it. For Linux
3. tar xvfz ApacheDirectoryStudio-2.0.0.v20150606-M9-linux.gtk.x86_64.tar.gz
4. sudo mv ApacheDirectoryStudio /usr/lib
sudo ln -s /usr/lib/ApacheDirectoryStudio/ApacheDirectoryStudio
/usr/bin
5. After this start ApacheDirectoryStudio from shell prompt or Gui Execution prompt
6. To Configure Right click in the Connections area in lower left corner and Click on New Connection
1
7 7.
Fill in the information as showing in image and click next

1
8 8.
Fill in information again as in image. On Windows "Use native
TGT" might work if you are logged in as a domain user
1 9.
Click Finish and double
click the new connection parameter.
10.
The left hand of your
windows should look like below
1 11.
Browse to the user who's ssh key you want to add
1
1 12.
In the middle window on upper side click the icon with 3 bars as
showing in image
1
1 13.
Fill the box as shown in image
14. Click Finish
15. Press Ok on next pop-up
16. Type ldapublickey in the edit box and press Add
17. Click Next
18. Click similar 3 bar icon as before and fill the box as shown
And
add the attributes
19.
Click Finish
20. In the popup click "Edit As text" and paste the ssh key
0 comments:
Post a Comment