net-ssh 5.2.0.rc1 → 5.2.0.rc2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +3 -1
- data/CHANGES.txt +4 -0
- data/lib/net/ssh/config.rb +8 -1
- data/lib/net/ssh/version.rb +1 -1
- metadata +2 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c2765bde2cf7f2d2712d570614a8b88b0eb60a48
|
|
4
|
+
data.tar.gz: dd2b510a4bfb2534d2a271280959dc400a0230df
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 05a267b12dd182983c5a773282fcc9d84188e3dada4ecc5a90cccaab33443f402bd7a63955f355beb497118b91222534f911c808b93a252f042c6b2eab4b9472
|
|
7
|
+
data.tar.gz: e4424e278bb6b1cfef965f471f0cc046d5cda8c0cef23391710ec7759ad4ee0314853a9ae6075da0c8c4fbf6065c99cbde576589c550f9f32bb66eaba12da955
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data.tar.gz.sig
CHANGED
|
@@ -1 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
1���������-��7�"����q���B+�2<�����b:M��h�E+*|P7nH�{v"PE�N�"���(n�qky�_��'�������sO� �d=�m�7��*H
|
|
2
|
+
��w!�� ��}�14$�h@ :��z�K'���&^RN6^��������3.�f��J�qq�H���G����Ǖ���?^��Y���|҉�Da�E ��9� �<bOl30���V�=hf� L(�o�ӀT��
|
|
3
|
+
��*| k�5�U��
|
data/CHANGES.txt
CHANGED
data/lib/net/ssh/config.rb
CHANGED
|
@@ -24,6 +24,7 @@ module Net
|
|
|
24
24
|
# * IdentityFile => maps to the :keys option
|
|
25
25
|
# * IdentityAgent => :identity_agent
|
|
26
26
|
# * IdentitiesOnly => :keys_only
|
|
27
|
+
# * CheckHostIP => :check_host_ip
|
|
27
28
|
# * Macs => maps to the :hmac option
|
|
28
29
|
# * PasswordAuthentication => maps to the :auth_methods option password
|
|
29
30
|
# * Port => :port
|
|
@@ -76,6 +77,10 @@ module Net
|
|
|
76
77
|
# #translate for how to convert the OpenSSH options into Net::SSH
|
|
77
78
|
# options.)
|
|
78
79
|
def load(path, host, settings={}, base_dir = nil)
|
|
80
|
+
translated_globals = {
|
|
81
|
+
"checkhostip" => "check_host_ip"
|
|
82
|
+
}
|
|
83
|
+
|
|
79
84
|
file = File.expand_path(path)
|
|
80
85
|
base_dir ||= File.dirname(file)
|
|
81
86
|
return settings unless File.readable?(file)
|
|
@@ -96,6 +101,7 @@ module Net
|
|
|
96
101
|
next if value.nil?
|
|
97
102
|
|
|
98
103
|
key.downcase!
|
|
104
|
+
key = translated_globals[key] || key
|
|
99
105
|
value = unquote(value)
|
|
100
106
|
|
|
101
107
|
value = case value.strip
|
|
@@ -202,7 +208,8 @@ module Net
|
|
|
202
208
|
fingerprinthash: :fingerprint_hash,
|
|
203
209
|
port: :port,
|
|
204
210
|
user: :user,
|
|
205
|
-
userknownhostsfile: :user_known_hosts_file
|
|
211
|
+
userknownhostsfile: :user_known_hosts_file,
|
|
212
|
+
checkhostip: :check_host_ip
|
|
206
213
|
}
|
|
207
214
|
case key
|
|
208
215
|
when :ciphers
|
data/lib/net/ssh/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: net-ssh
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 5.2.0.
|
|
4
|
+
version: 5.2.0.rc2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jamis Buck
|
|
@@ -32,7 +32,7 @@ cert_chain:
|
|
|
32
32
|
ZFwoIuXKeDmTTpryd/vI7sdLXDuV6MbWOLGh6gXn9RDDXG1EqEXW0bjovATBMpdH
|
|
33
33
|
9OGohJvAFzcvhDTWPwT6w3PG5B80pqb9j1hEAg==
|
|
34
34
|
-----END CERTIFICATE-----
|
|
35
|
-
date: 2019-03-
|
|
35
|
+
date: 2019-03-07 00:00:00.000000000 Z
|
|
36
36
|
dependencies:
|
|
37
37
|
- !ruby/object:Gem::Dependency
|
|
38
38
|
name: bcrypt_pbkdf
|
metadata.gz.sig
CHANGED
|
Binary file
|