ssh-keypair

2.0.0 • Public • Published

Generate and SSH keypair with ssh-keygen

keygen(comment, path, callback(err))

Generate the keys at the given path. path will be the private, and path + '.pub' will be the public key.

keygen(comment, callback(err, privkey, pubkey))

Generate the keys to a random path and return them as strings.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 2.0.0
    3
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 2.0.0
    3
  • 1.1.0
    1
  • 1.0.1
    1
  • 1.0.0
    1

Package Sidebar

Install

npm i ssh-keypair

Weekly Downloads

6

Version

2.0.0

License

MIT

Last publish

Collaborators

  • jabapyth