ssh-manager 1.0.2 → 1.0.3

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: 242c3e31b394c8af8a1e562047d81bf97e80230a
4
- data.tar.gz: cdf870f02298851e998e8b3b0356689a842b23e7
3
+ metadata.gz: 1230240b3d7d967aaed677b83d1a77138a6caa21
4
+ data.tar.gz: 56f7764a50f2722f56cb1fe17c9db0e6dc149277
5
5
  SHA512:
6
- metadata.gz: 279cd4ac17a71b57d32348e2269d873e69b55ef29d98ab36f07716c07bda85cf5128e49231475fc2cb3fbf88f52fbaaf52f6163758c5505189732f6488b9d8bd
7
- data.tar.gz: ca26cc043b4757ca6d15ad9a693b08e8088eb3ff59d16b9d85e1755e09c8720d4a1629de6500c20126a8f49c23306ce64b6b5b81a5ce8a50b60baac6ca17d73c
6
+ metadata.gz: e6bb77a5a33d0adae40655c97ecce76bf58ab21f4f65747d4276c3d79d07ffa95763cb0f36917cbd54b2c0b52555f0c6251d3798381e1187ee51bff06a40e10e
7
+ data.tar.gz: 5241807a865a8030b6222505abf4d59c085ae88f7b6fa6ee0b998cef9a033e8b0faff0ddec0c63e3045b5a08bdc896ee46316d3ee509917d063ebb5650f6fab9
@@ -92,8 +92,8 @@ module SSH
92
92
  connect_via_ip = $stdin.gets.chomp
93
93
  puts 'With Username: '
94
94
  connect_via_user = $stdin.gets.chomp
95
- connect_via= "#{connect_via_user}@#{connect_via_ip}"
96
- # ssh -A -t jxs@10.160.64.184 ssh -A -t tux@10.160.65.2
95
+ connect_via = ""
96
+ connect_via= "#{connect_via_user}@#{connect_via_ip}" unless connect_via_user.empty?
97
97
  count = 0
98
98
  created_at = Time.now.to_s
99
99
  last_time = Time.now.to_s
@@ -1,5 +1,5 @@
1
1
  module SSH
2
2
  module Manager
3
- VERSION = "1.0.2"
3
+ VERSION = "1.0.3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ssh-manager
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joshua Schmid