leap_cli 1.5.0 → 1.5.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -47,13 +47,14 @@ module LeapCli; module Commands
47
47
  def exec_ssh(cmd, args)
48
48
  node = get_node_from_args(args, :include_disabled => true)
49
49
  options = [
50
- "-o 'HostName=#{node.domain.full}'",
50
+ "-o 'HostName=#{node.ip_address}'",
51
51
  # "-o 'HostKeyAlias=#{node.name}'", << oddly incompatible with ports in known_hosts file, so we must not use this or non-standard ports break.
52
52
  "-o 'GlobalKnownHostsFile=#{path(:known_hosts)}'",
53
53
  "-o 'UserKnownHostsFile=/dev/null'"
54
54
  ]
55
55
  if node.vagrant?
56
56
  options << "-i #{vagrant_ssh_key_file}" # use the universal vagrant insecure key
57
+ options << "-o IdentitiesOnly=yes" # force the use of the insecure vagrant key
57
58
  options << "-o 'StrictHostKeyChecking=no'" # blindly accept host key and don't save it (since userknownhostsfile is /dev/null)
58
59
  else
59
60
  options << "-o 'StrictHostKeyChecking=yes'"
@@ -1,6 +1,6 @@
1
1
  module LeapCli
2
2
  unless defined?(LeapCli::VERSION)
3
- VERSION = '1.5.0'
3
+ VERSION = '1.5.1'
4
4
  COMPATIBLE_PLATFORM_VERSION = '0.3.0'..'1.99'
5
5
  SUMMARY = 'Command line interface to the LEAP platform'
6
6
  DESCRIPTION = 'The command "leap" can be used to manage a bevy of servers running the LEAP platform from the comfort of your own home.'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: leap_cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.0
4
+ version: 1.5.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-03-16 00:00:00.000000000 Z
12
+ date: 2014-03-17 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: minitest