JSPM

ssh-keypair

2.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q30710F
  • License MIT

Generate ssh keys using ssh-keygen

Package Exports

  • ssh-keypair

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (ssh-keypair) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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.