ruby-sshkey

SSH private/public key generator in Ruby
  https://github.com/bensie/sshkey
  0
  no reviews



Generate private/public SSH keypairs (RSA and DSA supported) using pure Ruby.

When generating a new keypair the default key type is 2048-bit RSA, but you can supply the type (RSA or DSA) and bits in the options. You can also (optionally) supply a comment or passphrase.

This library can read a public or private key and present it as a string.