You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
230 B
10 lines
230 B
7 years ago
|
module CryptCheck
|
||
|
module Ssh
|
||
|
def self.analyze(host, port=22)
|
||
|
::CryptCheck.analyze(host, port, Proc.new { SshNotSupportedServer.new host, port }) do |_, ip, host|
|
||
|
Server.new ip, port, hostname: host
|
||
|
end
|
||
|
end
|
||
|
end
|
||
|
end
|