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 +4 -4
- data/lib/ssh/manager/cli.rb +2 -2
- 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: 1230240b3d7d967aaed677b83d1a77138a6caa21
|
4
|
+
data.tar.gz: 56f7764a50f2722f56cb1fe17c9db0e6dc149277
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e6bb77a5a33d0adae40655c97ecce76bf58ab21f4f65747d4276c3d79d07ffa95763cb0f36917cbd54b2c0b52555f0c6251d3798381e1187ee51bff06a40e10e
|
7
|
+
data.tar.gz: 5241807a865a8030b6222505abf4d59c085ae88f7b6fa6ee0b998cef9a033e8b0faff0ddec0c63e3045b5a08bdc896ee46316d3ee509917d063ebb5650f6fab9
|
data/lib/ssh/manager/cli.rb
CHANGED
@@ -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= "
|
96
|
-
#
|
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
|
data/lib/ssh/manager/version.rb
CHANGED