🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

github.com/wpi-acm/ssh-ldap-authorizedkeys

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/wpi-acm/ssh-ldap-authorizedkeys

v0.0.0-20240901173712-7fda4e9091c8
Source
Go
Version published
Created
Source

ssh-ldap-authorizedkeys

Go program to pull authorized keys out of LDAP. Expects two command-line arguments, the first being the location of a config file like the provided config.toml.example.

The second command line argument should be the attribute to filter by. This tool assumes the following:

  • All SSH keys are listed under the sshPublickey attribute(s)

Example Usage

./ssh-ldap-authorizedkeys ./config.toml exampleUsername

In sshd_config, you might configure it as:

AuthorizedKeysCommand /usr/bin/ssh-ldap-authorizedkeys /etc/ssh-ldap.toml %u
AuthorizedKeysCommandUser nobody

FAQs

Package last updated on 01 Sep 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts