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.

/ssh-keypair/

    Package Sidebar

    Install

    npm i ssh-keypair

    Weekly Downloads

    6

    Version

    2.0.0

    License

    MIT

    Last publish

    Collaborators

    • jabapyth