Class: Bosh::Bootstrap::Cli::Commands::SSH
- Inherits:
-
Object
- Object
- Bosh::Bootstrap::Cli::Commands::SSH
- Includes:
- Helpers, FileUtils
- Defined in:
- lib/bosh-bootstrap/cli/commands/ssh.rb
Overview
Runs SSH to the microbosh server
Instance Method Summary collapse
Methods included from Helpers::Settings
#migrate_old_settings, #reload_settings!, #save_settings!, #setting, #settings, #settings_dir, #settings_dir=, #settings_path, #settings_ssh_dir
Methods included from Helpers::KeyPair
Methods included from Helpers::Interactions
#bold, #clear, #cyan, #green, #hl, #red, #yellow
Methods included from Helpers::Bundle
Instance Method Details
#perform ⇒ Object
16 17 18 19 |
# File 'lib/bosh-bootstrap/cli/commands/ssh.rb', line 16 def perform setup_keypair sh "ssh -i #{private_key_path} #{user}@#{host}" end |