mescal-cli 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5547c681376827ceab38326e95abe5915d5ec40f
4
- data.tar.gz: 07a032bacd02df97108d012ba190a109ea0b5947
3
+ metadata.gz: 2375c155495f707a52ae7424d6974130f44cb652
4
+ data.tar.gz: 3aeadbb68e08855648caa0fcd29b780b08b7e6a0
5
5
  SHA512:
6
- metadata.gz: 706441d6abaa123ad8e146b7a3b47db15257902bf574085fe53d598be8a8d2fef3ee1fe8582afa2c30f4cf6094ebe64737f940338d5d43177a1704e10c59af35
7
- data.tar.gz: ca63d45bb24ad000f9f80054e2ad214c7efb811ff8c9b6197e6c062e754b8a547892b15df572dea09b96c223a5bf409b3aeab87aefe9745b2d6abc0d1cbd7455
6
+ metadata.gz: c6c7cd768d2f34e8eeb641dc69782f1e94ba8b55ddbebb6d032aed2a359388a98b34c36138ad35acd2944d8d6e19eb99ba614e8253ba40eaa3f6c2dfc41fd63e
7
+ data.tar.gz: e1f3a718cb29dd02515776822185c9314b32683b4ede5aa99169dcc078031c4a2cd8efe3f937d731ce42956961b47ff48754f13f9636d714ab805a2a193eb526
@@ -9,7 +9,7 @@ module MescalCli
9
9
  port = @task.ssh_port
10
10
  killer = "#{$0} kill #{@task.id}"
11
11
  puts "SSH'ing to root@#{ip}:#{port}"
12
- "ssh -o LogLevel=quiet -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no root@#{ip} -p #{port}; #{killer}"
12
+ exec "/bin/bash -l -c 'ssh -o LogLevel=quiet -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no root@#{ip} -p #{port}; #{killer}'"
13
13
  end
14
14
  end
15
15
  end
@@ -1,3 +1,3 @@
1
1
  module MescalCli
2
- VERSION = "0.2.1"
2
+ VERSION = "0.2.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mescal-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Kite