Sha256: 2e20fcb088612c3cf7520b761e5ab37fdccd2b248f83d0bc84ad11172fa1798c
Contents?: true
Size: 616 Bytes
Versions: 28
Compression:
Stored size: 616 Bytes
Contents
# Copyright (c) 2012-2013 Stark & Wayne, LLC module Bosh; module Bootstrap; module Cli; module Commands; end; end; end; end require "bosh-bootstrap/cli/helpers" # for the #sh helper require "rake" require "rake/file_utils" # Runs SSH to the microbosh server class Bosh::Bootstrap::Cli::Commands::SSH include Bosh::Bootstrap::Cli::Helpers include FileUtils def perform setup_keypair sh "ssh -i #{private_key_path} #{user}@#{host}" end protected def user "vcap" end def host settings.address.ip end def private_key_path File.expand_path(settings.key_pair.path) end end
Version data entries
28 entries across 28 versions & 1 rubygems