https://github.com/glauth/goklp
goklp: Golang OpenSSH Keys Ldap Provider for AuthorizedKeysCommand
https://github.com/glauth/goklp
Last synced: 9 days ago
JSON representation
goklp: Golang OpenSSH Keys Ldap Provider for AuthorizedKeysCommand
- Host: GitHub
- URL: https://github.com/glauth/goklp
- Owner: glauth
- License: other
- Created: 2022-10-30T04:50:29.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-03-20T04:17:51.000Z (about 2 years ago)
- Last Synced: 2025-04-18T14:20:43.564Z (10 days ago)
- Language: Go
- Size: 5.86 KB
- Stars: 14
- Watchers: 3
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
 
## goklp: Golang OpenSSH Keys Ldap Provider for AuthorizedKeysCommand
This is a copy of the now defunct 'goklp' tool by AppliedTrust, which can be used as source of SSH authorized keys. Bugs will be fixed if necessary.
### Usage:
1. Setup goklp.ini - must be in same directory as goklp
1. Test to ensure goklp returns SSH keys: goklp
1. Add this line to your sshd_config: AuthorizedKeysCommand /path/to/goklp### goklp.ini config file is required:
```
goklp_ldap_uri = ldaps://server1:636,ldaps://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)
```