Exception: Net::SSH::HostKeyRevoked
- Inherits:
-
HostKeyError
- Object
- RuntimeError
- Exception
- HostKeyError
- Net::SSH::HostKeyRevoked
- 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
Instance Method Summary collapse
Methods inherited from HostKeyError
#[], #fingerprint, #host, #ip, #key, #port
Instance Method Details
#remember_host! ⇒ Object
129 130 131 |
# File 'lib/net/ssh/errors.rb', line 129 def remember_host! raise self end |