openflighthpc / flight-cloud

Cloud orchestration tool
Eclipse Public License 2.0
3 stars 2 forks source link

Flight cloud ssh #278

Open ColonelPanicks opened 5 years ago

ColonelPanicks commented 5 years ago

Nodes which are deployed with a public IP return that IP tag. It could be useful to have a ssh subcommand to connect to a deployed node's public IP

$ flight cloud list
Deployment: ‘gateway1’
Creation Date: 2019-08-05 10:26:03 +0000
Status: Running
Provider Tag: cloudware-shared-gateway1-772b6dfc46
Groups: login,login,all

  Results
  ● gateway1TAGgroups: login,all
  ● gateway1TAGIP: 34.254.43.81
  ● gateway1TAGID: i-007eb1d5d4bbedfe8

  Replacements
  ● securitygroup: *stucluster
  ● network1SubnetID: *stucluster
  ● deployment_name: gateway1

$ flight cloud ssh gateway1
Connecting to 34.254.43.81...