skm-ng
v1.0.3
Published
a simple and powerful SSH Keys Manager
Downloads
6
Readme
node-skm
Yet another simple ssh key manager impleted by node.js. It helps you to manage your multiple SSH keys easily!
Features
- [x] initialize skm store just for the first time
- [x] list all your ssh keys
- [x] use ssh key by alias
- [x] delete ssh key by alias
- [x] create ssh key by alias
- [x] rename ssh key's alias
- [x] backup ssh keys
- [ ] restore ssh keys
Installation
$ [email protected]:ah-yu/node-skm.git
$ cd node-skm
$ npm install && npm link
or
$ npm install skm-ng -g
Usage
▶ skm -h
Usage: skm [options] [command]
Options:
-V, --version output the version number
-h, --help output usage information
Commands:
ls ls all ssh keys
init init skm store
use [alias] use ssh key by alias
delete [alias] delete ssh key by alias
create [options] [alias] create ssh key
rn [alias...] rename alias
initialize skm store(just for the first time use)
$ skm init
> init skm store successfully!
list all ssh keys
$ skm ls
alpha
beta
-> default
dev
use certain ssh key by alias
$ skm use alpha
> now using SSH key: alpha
delete certain ssh key by alias
$ skm delete dev
> delete dev ssh key successfully
create ssh key with alias and comment
$ skm create dev "[email protected]"
> Generating public/private rsa key pair.
Your identification has been saved in /Users/buji/.skm/dev/id_rsa.
Your public key has been saved in /Users/buji/.skm/dev/id_rsa.pub.
The key fingerprint is:
SHA256:zyiOk3U/Qug5Np8a1HCD3NV6sCYdbaocPJV1AzuEzvQ undefined
The key's randomart image is:
+---[RSA 2048]----+
| .*+.o |
| . o .B.+o . |
| +.+* Oo |
| +=.O E. |
| .oS* . |
| .o =+ |
| +o+..o |
| oo*o..o |
| .oo=o. . |
+----[SHA256]-----+
create dev ssh key successfully!
rename ssh key alias
skm rn dev beta
> rename dev to beta successfully
backup ssh keys in skm store
skm backup
> backup in /Users/buji/skm-2017-11-21T04:52:28.002Z.zip
12651 total bytes
back up keys successfully!