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