Exception: Net::SSH::HostKeyRevoked

Inherits:
HostKeyError show all
Defined in:
lib/net/ssh/errors.rb

Overview

Raised when the key given by the host, or the CA that signed its certificate, is marked @revoked in a known hosts file. A revoked key must never be accepted, so unlike the other host key errors this one can't be overridden: #remember_host! just raises it again.

Instance Attribute Summary

Attributes inherited from HostKeyError

#callback, #data

Instance Method Summary collapse

Methods inherited from HostKeyError

#[], #fingerprint, #host, #ip, #key, #port

Instance Method Details

#remember_host! ⇒ Object

Raises:

  • (self)


129
130
131
# File 'lib/net/ssh/errors.rb', line 129

def remember_host!
  raise self
end