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
230B

  1. module CryptCheck
  2. module Ssh
  3. def self.analyze(host, port=22)
  4. ::CryptCheck.analyze(host, port, Proc.new { SshNotSupportedServer.new host, port }) do |_, ip, host|
  5. Server.new ip, port, hostname: host
  6. end
  7. end
  8. end
  9. end