skm-node
v2.0.2
Published
SSH keys manager for nodejs
Downloads
24
Readme
SSH keys manager for nodejs
Before
Make sure the
~/.skm
directory does not exist, please.save first to avoid loss if you are currently using sshkey, please.
Installtion
$ npm install -g skm-node
Usage
Usage: skm [options] [command]
Options:
-V, --version output the version number
-h, --help output usage information
Commands:
init Initialize skm-node
ls List all the ssh key
use <name> change the use ssh key
c <name> <email> create new ssh key
help Print this help
Example
$ skm init
skm-node init successful!
$ skm ls
123
# default
$ skm c <email> <name>
$ skm c [email protected] 123
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
successful, You can use the 123 ssh key!
$ skm use <name>
$ skm use 123
Now SSH KEY use the: 123
Contributing
- Fork it
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create new Pull Request
Licence
this repo is released under the WTFPL – Do What the Fuck You Want to Public License.