Eric S. Periard
Cadet
- Joined
- Aug 8, 2013
- Messages
- 1
Hey guys,
I'm new here and have been working on a LDAP Authentication for FREENAS project.
A new requirement came in that a user should be able to SSH with a an SSH Public key using the LDAP Authentication mechanism.
So far I have LDAP Auth with SSL/TLS working fine...
I've successfully imported the OpenSSH LPK schema successfully and I did some reading on generating the private and public keys... I put the public key in the user profile on LDAP and keep the private and public keys in the user machine under ~/.ssh but when I try to login with say PuttyTTL and I give it my private key it gets refused...
If someone could kindly help me it would be much appreciated!
Thanks and keep up the great work with FreeNAS :)
https://github.com/Lullabot/openldap-schema/blob/master/openssh-lpk.ldif
I'm new here and have been working on a LDAP Authentication for FREENAS project.
A new requirement came in that a user should be able to SSH with a an SSH Public key using the LDAP Authentication mechanism.
So far I have LDAP Auth with SSL/TLS working fine...
I've successfully imported the OpenSSH LPK schema successfully and I did some reading on generating the private and public keys... I put the public key in the user profile on LDAP and keep the private and public keys in the user machine under ~/.ssh but when I try to login with say PuttyTTL and I give it my private key it gets refused...
If someone could kindly help me it would be much appreciated!
Thanks and keep up the great work with FreeNAS :)
https://github.com/Lullabot/openldap-schema/blob/master/openssh-lpk.ldif