net-ssh 5.2.0.rc2 → 5.2.0.rc3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +1 -3
- data/CHANGES.txt +5 -0
- data/lib/net/ssh.rb +2 -2
- data/lib/net/ssh/config.rb +0 -5
- data/lib/net/ssh/known_hosts.rb +2 -0
- data/lib/net/ssh/version.rb +1 -1
- metadata +1 -1
- 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: ef2b7488e98367e18ce426b09e98559f00f45bb8
|
4
|
+
data.tar.gz: 7e7e67ee2dccdadfdf58fa482704e70e95e1fa05
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1b7365375e0f13cc950fa8aa124a1dbc2685d66f916c805dd07efb236eb6a290e2fbe68dc32991e8ef85b70fbbcc0ac0891fd2d47a178193993b68fd079c6452
|
7
|
+
data.tar.gz: cf692014ecd2c29742e7d1d4dba2a8a64e1903c2fc5a8d880b80213da058b7c2b8a375ab5f6f9b6fbe5282bd85ed3cdf822bdf729ac949fab68a4df12f633886
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
@@ -1,3 +1 @@
|
|
1
|
-
|
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��
|
1
|
+
� KS�h]�${>t��*+K�=�S(O�6C�$"fjǻLӌ���% ��9+hn!>�X�l��"qӇ�3�dN�UaZ���
|
data/CHANGES.txt
CHANGED
data/lib/net/ssh.rb
CHANGED
@@ -223,6 +223,8 @@ module Net
|
|
223
223
|
options = configuration_for(host, options.fetch(:config, true)).merge(options)
|
224
224
|
host = options.fetch(:host_name, host)
|
225
225
|
|
226
|
+
options[:check_host_ip] = true unless options.key?(:check_host_ip)
|
227
|
+
|
226
228
|
if options[:non_interactive]
|
227
229
|
options[:number_of_password_prompts] = 0
|
228
230
|
end
|
@@ -292,8 +294,6 @@ module Net
|
|
292
294
|
%i[password passphrase].each do |key|
|
293
295
|
options.delete(key) if options.key?(key) && options[key].nil?
|
294
296
|
end
|
295
|
-
|
296
|
-
options[:check_host_ip] = true unless options.key?(:check_host_ip)
|
297
297
|
end
|
298
298
|
|
299
299
|
def self._sanitize_options(options)
|
data/lib/net/ssh/config.rb
CHANGED
@@ -77,10 +77,6 @@ module Net
|
|
77
77
|
# #translate for how to convert the OpenSSH options into Net::SSH
|
78
78
|
# options.)
|
79
79
|
def load(path, host, settings={}, base_dir = nil)
|
80
|
-
translated_globals = {
|
81
|
-
"checkhostip" => "check_host_ip"
|
82
|
-
}
|
83
|
-
|
84
80
|
file = File.expand_path(path)
|
85
81
|
base_dir ||= File.dirname(file)
|
86
82
|
return settings unless File.readable?(file)
|
@@ -101,7 +97,6 @@ module Net
|
|
101
97
|
next if value.nil?
|
102
98
|
|
103
99
|
key.downcase!
|
104
|
-
key = translated_globals[key] || key
|
105
100
|
value = unquote(value)
|
106
101
|
|
107
102
|
value = case value.strip
|
data/lib/net/ssh/known_hosts.rb
CHANGED
@@ -2,6 +2,7 @@ require 'strscan'
|
|
2
2
|
require 'openssl'
|
3
3
|
require 'base64'
|
4
4
|
require 'net/ssh/buffer'
|
5
|
+
require 'net/ssh/authentication/ed25519_loader'
|
5
6
|
|
6
7
|
module Net
|
7
8
|
module SSH
|
@@ -48,6 +49,7 @@ module Net
|
|
48
49
|
else
|
49
50
|
SUPPORTED_TYPE = %w[ssh-rsa ssh-dss]
|
50
51
|
end
|
52
|
+
SUPPORTED_TYPE.push('ssh-ed25519') if Net::SSH::Authentication::ED25519Loader::LOADED
|
51
53
|
|
52
54
|
class <<self
|
53
55
|
# Searches all known host files (see KnownHosts.hostfiles) for all keys
|
data/lib/net/ssh/version.rb
CHANGED
metadata
CHANGED
metadata.gz.sig
CHANGED
Binary file
|