reviewboard.ssh.errors¶
-
exception
SSHError[source]¶ Bases:
exceptions.ExceptionAn SSH-related error.
-
exception
SSHAuthenticationError(allowed_types=[], msg=None, user_key=None)[source]¶ Bases:
reviewboard.ssh.errors.SSHErrorAn 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.
-
exception
UnsupportedSSHKeyError[source]¶ Bases:
reviewboard.ssh.errors.SSHErrorAn error representing an unsupported type of SSH key.
-
exception
SSHKeyError(hostname, key, message)[source]¶ Bases:
reviewboard.ssh.errors.SSHErrorAn error involving a host key on an SSH connection.
-
exception
BadHostKeyError(hostname, key, expected_key)[source]¶ Bases:
reviewboard.ssh.errors.SSHKeyErrorAn error representing a bad or malicious key for an SSH connection.
-
exception
UnknownHostKeyError(hostname, key)[source]¶ Bases:
reviewboard.ssh.errors.SSHKeyErrorAn error representing an unknown host key for an SSH connection.
-
exception
SSHInvalidPortError(port)[source]¶ Bases:
reviewboard.ssh.errors.SSHErrorAn error representing a port that is a non-integer value.