Skip to content
forked from AppliedTrust/goklp

Golang OpenSSH Keys Ldap Provider for AuthorizedKeysCommand

License

Notifications You must be signed in to change notification settings

secsecsec/goklp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Supported License BSDv2

##goklp: Golang OpenSSH Keys Ldap Provider for AuthorizedKeysCommand

###Usage:

  1. Setup goklp.ini - must be in same directory as goklp
  2. Test to ensure goklp returns SSH keys: goklp
  3. Add this line to your sshd_config: AuthorizedKeysCommand /path/to/goklp

###goklp.ini config file is required:

goklp_ldap_uri          = ldaps:https://server1:636,ldaps:https://server2:636   (required)
goklp_ldap_bind_dn      = CN=someuser,O=someorg,C=sometld           (required)
goklp_ldap_base_dn      = O=someorg,C=sometld                       (required)
goklp_ldap_bind_pw      = someSecretPassword                        (required)
goklp_ldap_timeout_secs = 10                           (optional - default: 5)
goklp_debug             = false                    (optional - default: false)

About

Golang OpenSSH Keys Ldap Provider for AuthorizedKeysCommand

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 99.1%
  • Makefile 0.9%