skm-node

2.0.2 • Public • Published

SSH keys manager for nodejs


Build Status npm version downloads CRAN

Before

  1. Make sure the ~/.skm directory does not exist, please.

  2. 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 123@qq.com 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

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Licence

this repo is released under the WTFPL – Do What the Fuck You Want to Public License.

Dependents (0)

Package Sidebar

Install

npm i skm-node

Weekly Downloads

16

Version

2.0.2

License

WTFPL

Unpacked Size

6.38 kB

Total Files

6

Last publish

Collaborators

  • 1qing