class Alvid::Keypair

Public Class Methods

new() click to toggle source
# File lib/alvid/keypair.rb, line 5
def initialize
  @keypair = SSHKey.generate
end

Public Instance Methods

pri() click to toggle source
# File lib/alvid/keypair.rb, line 13
def pri
  @keypair.private_key
end
pub() click to toggle source
# File lib/alvid/keypair.rb, line 9
def pub
  @keypair.ssh_public_key
end