Go to the latest version of this document.

# ``twisted`.`conch`.`error`.`HostKeyChanged``

exception documentation

`class HostKeyChanged(Exception): (source)`

Constructor: `HostKeyChanged(offendingEntry, path, lineno)`

View In Hierarchy

The host key of a remote host has changed.

Method | `__init__` | Undocumented
Instance Variable | `lineno` | The line number of the offending entry in the given path.
Instance Variable | `offendingEntry` | The entry which contains the persistent host key that disagrees with the given host key.
Instance Variable | `path` | a reference to the known_hosts file that the offending entry was loaded from

def __init__(self, offendingEntry, path, lineno): (source)

Undocumented

lineno: `int` = (source)

The line number of the offending entry in the given path.

offendingEntry: `twisted.conch.interfaces.IKnownHostEntry` = (source)

The entry which contains the persistent host key that disagrees with the given host key.

path: `twisted.python.filepath.FilePath` = (source)

a reference to the known_hosts file that the offending entry was loaded from