ssh-locksmith
Version:
Script to manage (add or delete) ssh keys for different users
13 lines (9 loc) • 1.24 kB
Markdown
<a href="https://www.npmjs.com/package/ssh-locksmith"><img src="https://img.shields.io/npm/v/ssh-locksmith.svg" alt="Version"></a>
<a href="https://www.npmjs.com/package/ssh-locksmith"><img src="https://img.shields.io/npm/dm/ssh-locksmith.svg" alt="Downloads"></a>
<a href="https://www.npmjs.com/package/ssh-locksmith"><img src="https://img.shields.io/npm/l/ssh-locksmith.svg" alt="License"></a>
<a href="https://david-dm.org/smartprix/ssh-locksmith"><img src="https://david-dm.org/smartprix/ssh-locksmith/status.svg" alt="Dependencies"></a>
<a href="https://david-dm.org/smartprix/ssh-locksmith?type=dev"><img src="https://david-dm.org/smartprix/ssh-locksmith/dev-status.svg" alt="Dev Dependencies"></a>
## SSH Locksmith
A node utility to manage **SSH keys** for different users on the server. It allows you to add and delete different users on your server.
It generates an SSH key pair and adds the public key to the `authorized_keys` directory and sends the private key via e-mail to the e-mail id provided.
You can delete the keys for a particular user, or for a particular e-mail address. The e-mail address is used as a comment while generating the SSH key pair, thus deletion on the basis of e-mail address is also supported.