This documentation covers the in-development release of Review Board.
You can see the stable Review Board
documentation or
all previous versions.
reviewboard.ssh.policy
-
class RaiseUnknownHostKeyPolicy[source]
Bases: MissingHostKeyPolicy
A Paramiko policy that raises UnknownHostKeyError for missing keys.
-
missing_host_key(client, hostname, key)[source]
Called when an .SSHClient receives a server key for a server that
isn’t in either the system or local .HostKeys object. To accept
the key, simply return. To reject, raised an exception (which will
be passed to the calling application).