ssh-wrapper 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/ssh-wrapper +5 -2
- metadata +20 -41
data/bin/ssh-wrapper
CHANGED
@@ -4,8 +4,11 @@
|
|
4
4
|
command = ['ssh']
|
5
5
|
# Do we want to skip SSH hostkey checking?
|
6
6
|
command << ["-o", "UserKnownHostsFile=/dev/null", "-o", "StrictHostKeyChecking=no"] if ENV['SSH_SKIP_HOSTKEY_CHECK']
|
7
|
-
# Use a custom private key file?
|
8
|
-
|
7
|
+
# Use a custom private key file?
|
8
|
+
if ENV['SSH_IDENTITY_FILE']
|
9
|
+
command << ["-o", "IdentitiesOnly=yes"]
|
10
|
+
command << ["-i", "#{ENV['SSH_IDENTITY_FILE']}"]
|
11
|
+
end
|
9
12
|
# Use a custom port?
|
10
13
|
command << ["-p", "#{ENV['SSH_PORT']}"] if ENV['SSH_PORT']
|
11
14
|
# Get the remaining options from the command line
|
metadata
CHANGED
@@ -1,67 +1,46 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: ssh-wrapper
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
prerelease:
|
6
|
-
segments:
|
7
|
-
- 1
|
8
|
-
- 0
|
9
|
-
- 2
|
10
|
-
version: 1.0.2
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.3
|
5
|
+
prerelease:
|
11
6
|
platform: ruby
|
12
|
-
authors:
|
7
|
+
authors:
|
13
8
|
- Charlie Smurthwaite
|
14
9
|
autorequire:
|
15
10
|
bindir: bin
|
16
11
|
cert_chain: []
|
17
|
-
|
18
|
-
date: 2010-12-01 00:00:00 +00:00
|
19
|
-
default_executable:
|
12
|
+
date: 2012-10-16 00:00:00.000000000Z
|
20
13
|
dependencies: []
|
21
|
-
|
22
14
|
description:
|
23
15
|
email: charlie@atechmedia.com
|
24
|
-
executables:
|
16
|
+
executables:
|
25
17
|
- ssh-wrapper
|
26
18
|
extensions: []
|
27
|
-
|
28
19
|
extra_rdoc_files: []
|
29
|
-
|
30
|
-
files:
|
20
|
+
files:
|
31
21
|
- bin/ssh-wrapper
|
32
|
-
has_rdoc: true
|
33
22
|
homepage: http://atechmedia.com
|
34
23
|
licenses: []
|
35
|
-
|
36
24
|
post_install_message:
|
37
25
|
rdoc_options: []
|
38
|
-
|
39
|
-
require_paths:
|
26
|
+
require_paths:
|
40
27
|
- lib
|
41
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
28
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
42
29
|
none: false
|
43
|
-
requirements:
|
44
|
-
- -
|
45
|
-
- !ruby/object:Gem::Version
|
46
|
-
|
47
|
-
|
48
|
-
- 0
|
49
|
-
version: "0"
|
50
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ! '>='
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
51
35
|
none: false
|
52
|
-
requirements:
|
53
|
-
- -
|
54
|
-
- !ruby/object:Gem::Version
|
55
|
-
|
56
|
-
segments:
|
57
|
-
- 0
|
58
|
-
version: "0"
|
36
|
+
requirements:
|
37
|
+
- - ! '>='
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
version: '0'
|
59
40
|
requirements: []
|
60
|
-
|
61
41
|
rubyforge_project:
|
62
|
-
rubygems_version: 1.
|
42
|
+
rubygems_version: 1.8.10
|
63
43
|
signing_key:
|
64
44
|
specification_version: 3
|
65
45
|
summary: Ruby wrapper for ssh
|
66
46
|
test_files: []
|
67
|
-
|