reviewboard.ssh.errors¶
- exception SSHAuthenticationError(allowed_types=[], msg=None, user_key=None)[source]¶
Bases:
SSHError
An error representing a failed authentication over SSH.
This takes a list of SSH authentication types that are allowed. Primarily, we respond to “password” and “publickey”.
This may also take the user’s SSH key that was tried, if any.
- __annotations__ = {}¶
- exception UnsupportedSSHKeyError[source]¶
Bases:
SSHError
An error representing an unsupported type of SSH key.
- __annotations__ = {}¶
- exception SSHKeyError(hostname, key, message)[source]¶
Bases:
SSHError
An error involving a host key on an SSH connection.
- __annotations__ = {}¶
- exception BadHostKeyError(hostname, key, expected_key)[source]¶
Bases:
SSHKeyError
An error representing a bad or malicious key for an SSH connection.
- __annotations__ = {}¶
- exception UnknownHostKeyError(hostname, key)[source]¶
Bases:
SSHKeyError
An error representing an unknown host key for an SSH connection.
- __annotations__ = {}¶