Home | Trees | Index | Help |
---|
Package paramiko :: Class MissingHostKeyPolicy |
|
object
--+
|
MissingHostKeyPolicy
AutoAddPolicy
,
RejectPolicy
Interface for defining the policy that SSHClient
should use when the SSH server's
hostname is not in either the system host keys or the application's keys.
Pre-made classes implement policies for automatically adding the key to
the application's HostKeys
object (AutoAddPolicy
), and for automatically
rejecting the key (RejectPolicy
).
Method Summary | |
---|---|
Called when an SSHClient receives a server key for a
server that isn't in either the system or local HostKeys object. | |
Inherited from object | |
x.__init__(...) initializes x; see x.__class__.__doc__ for signature | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__hash__() <==> hash(x) | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
helper for pickle | |
helper for pickle | |
x.__repr__() <==> repr(x) | |
x.__setattr__('name', value) <==> x.name = value | |
x.__str__() <==> str(x) |
Method Details |
---|
missing_host_key(self, client, hostname, key)Called when anSSHClient 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).
|
Home | Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Mon Jan 21 19:06:09 2008 | http://epydoc.sf.net |