Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
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
  • Socket score

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:

  1. 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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc