This documentation covers Review Board 6.x.
You can select a version above or
view the latest documentation.
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).