2.0.0 • Published 9 years ago

ssh-keypair v2.0.0

Weekly downloads
6
License
MIT
Repository
github
Last release
9 years ago

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.