glauth / goklp

goklp: Golang OpenSSH Keys Ldap Provider for AuthorizedKeysCommand
Other
12 stars 1 forks source link

Does this still work? #1

Open blysik opened 1 year ago

blysik commented 1 year ago

I compiled on my ubuntu server, updated the ini. I set debug to true, but I don't see anything happen.

$ ./goklp
Usage:
    goklp <username>
    goklp [--config=<config>] <username>
    goklp -h --help
    goklp --version
$ ./goklp blysik
$ 
$ grep debug goklp.ini
goklp_debug                 = true

The other settings are there, and I can use ldapsearch to see my ssh keys. Thanks in advance.

Fusion commented 1 year ago

Hi.

It looks like syslog broke even further in recent MacOS releases. If you are on Linux, check the output of /var/log/messages or /var/log/syslog

I just committed a new version that can also output to the terminal. Note that this should NOT be used in production.

In addition, this new version does not display anything that would disturb its output's parsing.

I also updated goklp.ini and this version works with glauth using the example sample-simple.cfg configuration.