goklp

command module
v0.0.0-...-4ee3189 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 20, 2023 License: BSD-2-Clause, MIT Imports: 14 Imported by: 0

README

Supported License BSDv2

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
  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://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)

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL