From ed280d5ac360e2af796e9bd973d7b4df89f0c449 Mon Sep 17 00:00:00 2001 From: "Jeremy T. Bouse" Date: Fri, 27 Nov 2009 16:20:12 -0500 Subject: Imported Upstream version 1.7.4 --- docs/paramiko.AutoAddPolicy-class.html | 221 +++++++++++++++++++++++++++++++++ 1 file changed, 221 insertions(+) create mode 100644 docs/paramiko.AutoAddPolicy-class.html (limited to 'docs/paramiko.AutoAddPolicy-class.html') diff --git a/docs/paramiko.AutoAddPolicy-class.html b/docs/paramiko.AutoAddPolicy-class.html new file mode 100644 index 0000000..36cecb0 --- /dev/null +++ b/docs/paramiko.AutoAddPolicy-class.html @@ -0,0 +1,221 @@ + + + + + paramiko.AutoAddPolicy + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + Package paramiko :: + Class AutoAddPolicy + + + + + +
[frames] | no frames]
+
+ +

Class AutoAddPolicy

source code

+
+          object --+    
+                   |    
+MissingHostKeyPolicy --+
+                       |
+                      AutoAddPolicy
+
+ +
+

Policy for automatically adding the hostname and new host key to the + local HostKeys + object, and saving it. This is used by SSHClient.

+ + + + + + + + + + + + + +
+ Instance Methods
+   + + + + + + +
missing_host_key(self, + 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.
+ source code + +
+ +
+

Inherited from object: + __delattr__, + __getattribute__, + __hash__, + __init__, + __new__, + __reduce__, + __reduce_ex__, + __repr__, + __setattr__, + __str__ +

+
+ + + + + + + + + +
+ Properties
+

Inherited from object: + __class__ +

+
+ + + + + + +
+ Method Details
+ +
+ +
+ + +
+

missing_host_key(self, + client, + hostname, + key) +

+
source code  +
+ +

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).

+
+
Overrides: + MissingHostKeyPolicy.missing_host_key +
(inherited documentation)
+ +
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + +
+ + + + -- cgit v1.2.3