class Net::SSH::HostKeyError

def [](key)

(see also #fingerprint, #host, #port, #ip, and #key).
An accessor for getting at the data that was used to look up the host
def [](key)
  @data && @data[key]
end