ssh-manager 1.0.5 → 1.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ssh/manager/cli.rb +1 -1
- data/lib/ssh/manager/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: 42c9874a54c63e0fecf365f36f7d05fe038669fd
|
4
|
+
data.tar.gz: 8e8220fbad020e76b3fd708ab697d43308d7f541
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c1c43da10e2d8ec6a7e298f76e4bba5ec3de61f457c6ead01dbaf11c6e8279101a23314967fb045596f2f12e03eead0a806596b03e21ed00aa5eac44c4102e8e
|
7
|
+
data.tar.gz: e3a1c0d37d74ad09607d067ad1d4f95c2ac0c8c70ecc3c5c0737525994cd00b605fdb9daa757ec8b98ae64b2befba16a1b059095edd491945c2cc18995dd6cfe
|
data/lib/ssh/manager/cli.rb
CHANGED
@@ -24,7 +24,7 @@ module SSH
|
|
24
24
|
#TODO: add title --title='connection name to identify '
|
25
25
|
#TODO: bug when no terminal is open => wants to open 2 terms
|
26
26
|
#TODO: dnslookup
|
27
|
-
if via.nil?
|
27
|
+
if via.nil? or via.empty?
|
28
28
|
%x(#{CONFIG['terminal']} #{command}"ssh #{user}@#{ip}")
|
29
29
|
else
|
30
30
|
%x(#{CONFIG['terminal']} #{command}"ssh -A -t #{via} ssh -A -t #{user}@#{ip}")
|
data/lib/ssh/manager/version.rb
CHANGED