class Net::SSH::KnownHosts

def search_for(host, options={})

of the given host. Returns an enumerable of keys found.
Searches all known host files (see KnownHosts.hostfiles) for all keys
def search_for(host, options={})
  HostKeys.new(search_in(hostfiles(options), host), host, self, options)
end