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 +4 -4
- data/lib/mescal-cli/ssh.rb +1 -1
- data/lib/mescal-cli/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2375c155495f707a52ae7424d6974130f44cb652
|
4
|
+
data.tar.gz: 3aeadbb68e08855648caa0fcd29b780b08b7e6a0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c6c7cd768d2f34e8eeb641dc69782f1e94ba8b55ddbebb6d032aed2a359388a98b34c36138ad35acd2944d8d6e19eb99ba614e8253ba40eaa3f6c2dfc41fd63e
|
7
|
+
data.tar.gz: e1f3a718cb29dd02515776822185c9314b32683b4ede5aa99169dcc078031c4a2cd8efe3f937d731ce42956961b47ff48754f13f9636d714ab805a2a193eb526
|
data/lib/mescal-cli/ssh.rb
CHANGED
@@ -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
|
data/lib/mescal-cli/version.rb
CHANGED