Sha256: 0cf63d38a75127fbc0dad56aab2069cb5e8b1e4b9aceeafaf3544670854edc17

Contents?: true

Size: 299 Bytes

Versions: 1

Compression:

Stored size: 299 Bytes

Contents

module Clearsight
  class SSH

    def initialize(host)
      @host = host
    end
    
    def sshify(keyname)
      # sh "cat ~/.ssh/#{keyname} | ssh #{host} 'cat >> ~/.ssh/authorized_keys'"
      sh "ssh-copy-id -i ~/.ssh/#{keyname} #{@host}"
    end

  end
end
Clearsight::Ssh = Clearsight::SSH

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
clearsight-1.2.0.rc2 lib/clearsight/ssh.rb