Yet another simple ssh key manager impleted by node.js. It helps you to manage your multiple SSH keys easily!
- initialize skm store just for the first time
- list all your ssh keys
- use ssh key by alias
- delete ssh key by alias
- create ssh key by alias
- rename ssh key's alias
- backup ssh keys
- restore ssh keys
$ email@example.com:ah-yu/node-skm.git $ cd node-skm $ npm install && npm link
$ npm install skm-ng -g
▶ 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 backup back ssh keys in skm store
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 "firstname.lastname@example.org" > 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 back up keys successfully!