reviewboard.ssh.policy¶
- class RaiseUnknownHostKeyPolicy¶
Bases:
MissingHostKeyPolicy
A Paramiko policy that raises UnknownHostKeyError for missing keys.
- missing_host_key(client, hostname, key)¶
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).