parent
0c1d736fbc
commit
e97994fdde
|
@ -13,6 +13,7 @@ module Net; module SSH; module Verifiers
|
||||||
def verify(arguments)
|
def verify(arguments)
|
||||||
options = arguments[:session].options
|
options = arguments[:session].options
|
||||||
host = options[:host_key_alias] || arguments[:session].host_as_string
|
host = options[:host_key_alias] || arguments[:session].host_as_string
|
||||||
|
matches = []
|
||||||
if options[:config]
|
if options[:config]
|
||||||
matches = Net::SSH::KnownHosts.search_for(host, arguments[:session].options)
|
matches = Net::SSH::KnownHosts.search_for(host, arguments[:session].options)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue