diff options
Diffstat (limited to 'docs/paramiko.auth_handler-pysrc.html')
-rw-r--r-- | docs/paramiko.auth_handler-pysrc.html | 1514 |
1 files changed, 1514 insertions, 0 deletions
diff --git a/docs/paramiko.auth_handler-pysrc.html b/docs/paramiko.auth_handler-pysrc.html new file mode 100644 index 0000000..9373338 --- /dev/null +++ b/docs/paramiko.auth_handler-pysrc.html @@ -0,0 +1,1514 @@ +<?xml version="1.0" encoding="ascii"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<head> + <title>paramiko.auth_handler</title> + <link rel="stylesheet" href="epydoc.css" type="text/css" /> + <script type="text/javascript" src="epydoc.js"></script> +</head> + +<body bgcolor="white" text="black" link="blue" vlink="#204080" + alink="#204080"> +<!-- ==================== NAVIGATION BAR ==================== --> +<table class="navbar" border="0" width="100%" cellpadding="0" + bgcolor="#a0c0ff" cellspacing="0"> + <tr valign="middle"> + <!-- Home link --> + <th> <a + href="paramiko-module.html">Home</a> </th> + + <!-- Tree link --> + <th> <a + href="module-tree.html">Trees</a> </th> + + <!-- Index link --> + <th> <a + href="identifier-index.html">Indices</a> </th> + + <!-- Help link --> + <th> <a + href="help.html">Help</a> </th> + + <th class="navbar" width="100%"></th> + </tr> +</table> +<table width="100%" cellpadding="0" cellspacing="0"> + <tr valign="top"> + <td width="100%"> + <span class="breadcrumbs"> + <a href="paramiko-module.html">Package paramiko</a> :: + Module auth_handler + </span> + </td> + <td> + <table cellpadding="0" cellspacing="0"> + <!-- hide/show private --> + <tr><td align="right"><span class="options" + >[<a href="frames.html" target="_top">frames</a + >] | <a href="paramiko.auth_handler-pysrc.html" + target="_top">no frames</a>]</span></td></tr> + </table> + </td> + </tr> +</table> +<h1 class="epydoc">Source Code for <a href="paramiko.auth_handler-module.html" onclick="show_private();">Module paramiko.auth_handler</a></h1> +<pre class="py-src"> +<a name="L1"></a><tt class="py-lineno"> 1</tt> <tt class="py-line"><tt class="py-comment"># Copyright (C) 2003-2007 Robey Pointer <robey@lag.net></tt> </tt> +<a name="L2"></a><tt class="py-lineno"> 2</tt> <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">#</tt> </tt> +<a name="L3"></a><tt class="py-lineno"> 3</tt> <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># This file is part of paramiko.</tt> </tt> +<a name="L4"></a><tt class="py-lineno"> 4</tt> <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">#</tt> </tt> +<a name="L5"></a><tt class="py-lineno"> 5</tt> <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># Paramiko is free software; you can redistribute it and/or modify it under the</tt> </tt> +<a name="L6"></a><tt class="py-lineno"> 6</tt> <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># terms of the GNU Lesser General Public License as published by the Free</tt> </tt> +<a name="L7"></a><tt class="py-lineno"> 7</tt> <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># Software Foundation; either version 2.1 of the License, or (at your option)</tt> </tt> +<a name="L8"></a><tt class="py-lineno"> 8</tt> <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># any later version.</tt> </tt> +<a name="L9"></a><tt class="py-lineno"> 9</tt> <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">#</tt> </tt> +<a name="L10"></a><tt class="py-lineno"> 10</tt> <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># Paramiko is distrubuted in the hope that it will be useful, but WITHOUT ANY</tt> </tt> +<a name="L11"></a><tt class="py-lineno"> 11</tt> <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR</tt> </tt> +<a name="L12"></a><tt class="py-lineno"> 12</tt> <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more</tt> </tt> +<a name="L13"></a><tt class="py-lineno"> 13</tt> <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># details.</tt> </tt> +<a name="L14"></a><tt class="py-lineno"> 14</tt> <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">#</tt> </tt> +<a name="L15"></a><tt class="py-lineno"> 15</tt> <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># You should have received a copy of the GNU Lesser General Public License</tt> </tt> +<a name="L16"></a><tt class="py-lineno"> 16</tt> <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># along with Paramiko; if not, write to the Free Software Foundation, Inc.,</tt> </tt> +<a name="L17"></a><tt class="py-lineno"> 17</tt> <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.</tt> </tt> +<a name="L18"></a><tt class="py-lineno"> 18</tt> <tt class="py-line"><tt class="py-comment"></tt> </tt> +<a name="L19"></a><tt class="py-lineno"> 19</tt> <tt class="py-line"><tt class="py-docstring">"""</tt> </tt> +<a name="L20"></a><tt class="py-lineno"> 20</tt> <tt class="py-line"><tt class="py-docstring">L{AuthHandler}</tt> </tt> +<a name="L21"></a><tt class="py-lineno"> 21</tt> <tt class="py-line"><tt class="py-docstring">"""</tt> </tt> +<a name="L22"></a><tt class="py-lineno"> 22</tt> <tt class="py-line"> </tt> +<a name="L23"></a><tt class="py-lineno"> 23</tt> <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">threading</tt> </tt> +<a name="L24"></a><tt class="py-lineno"> 24</tt> <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">weakref</tt> </tt> +<a name="L25"></a><tt class="py-lineno"> 25</tt> <tt class="py-line"> </tt> +<a name="L26"></a><tt class="py-lineno"> 26</tt> <tt class="py-line"><tt class="py-comment"># this helps freezing utils</tt> </tt> +<a name="L27"></a><tt class="py-lineno"> 27</tt> <tt class="py-line"><tt class="py-comment"></tt><tt class="py-keyword">import</tt> <tt class="py-name">encodings</tt><tt class="py-op">.</tt><tt class="py-name">utf_8</tt> </tt> +<a name="L28"></a><tt class="py-lineno"> 28</tt> <tt class="py-line"> </tt> +<a name="L29"></a><tt class="py-lineno"> 29</tt> <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-0" class="py-name" targets="Package paramiko=paramiko-module.html"><a title="paramiko" class="py-name" href="#" onclick="return doclink('link-0', 'paramiko', 'link-0');">paramiko</a></tt><tt class="py-op">.</tt><tt id="link-1" class="py-name" targets="Module paramiko.common=paramiko.common-module.html"><a title="paramiko.common" class="py-name" href="#" onclick="return doclink('link-1', 'common', 'link-1');">common</a></tt> <tt class="py-keyword">import</tt> <tt class="py-op">*</tt> </tt> +<a name="L30"></a><tt class="py-lineno"> 30</tt> <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-2" class="py-name"><a title="paramiko" class="py-name" href="#" onclick="return doclink('link-2', 'paramiko', 'link-0');">paramiko</a></tt> <tt class="py-keyword">import</tt> <tt id="link-3" class="py-name" targets="Module paramiko.util=paramiko.util-module.html"><a title="paramiko.util" class="py-name" href="#" onclick="return doclink('link-3', 'util', 'link-3');">util</a></tt> </tt> +<a name="L31"></a><tt class="py-lineno"> 31</tt> <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-4" class="py-name"><a title="paramiko" class="py-name" href="#" onclick="return doclink('link-4', 'paramiko', 'link-0');">paramiko</a></tt><tt class="py-op">.</tt><tt id="link-5" class="py-name" targets="Module paramiko.message=paramiko.message-module.html"><a title="paramiko.message" class="py-name" href="#" onclick="return doclink('link-5', 'message', 'link-5');">message</a></tt> <tt class="py-keyword">import</tt> <tt id="link-6" class="py-name" targets="Class paramiko.Message=paramiko.Message-class.html"><a title="paramiko.Message" class="py-name" href="#" onclick="return doclink('link-6', 'Message', 'link-6');">Message</a></tt> </tt> +<a name="L32"></a><tt class="py-lineno"> 32</tt> <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-7" class="py-name"><a title="paramiko" class="py-name" href="#" onclick="return doclink('link-7', 'paramiko', 'link-0');">paramiko</a></tt><tt class="py-op">.</tt><tt id="link-8" class="py-name" targets="Module paramiko.ssh_exception=paramiko.ssh_exception-module.html"><a title="paramiko.ssh_exception" class="py-name" href="#" onclick="return doclink('link-8', 'ssh_exception', 'link-8');">ssh_exception</a></tt> <tt class="py-keyword">import</tt> <tt id="link-9" class="py-name" targets="Class paramiko.SSHException=paramiko.SSHException-class.html"><a title="paramiko.SSHException" class="py-name" href="#" onclick="return doclink('link-9', 'SSHException', 'link-9');">SSHException</a></tt><tt class="py-op">,</tt> <tt id="link-10" class="py-name" targets="Class paramiko.AuthenticationException=paramiko.AuthenticationException-class.html"><a title="paramiko.AuthenticationException" class="py-name" href="#" onclick="return doclink('link-10', 'AuthenticationException', 'link-10');">AuthenticationException</a></tt><tt class="py-op">,</tt> \ </tt> +<a name="L33"></a><tt class="py-lineno"> 33</tt> <tt class="py-line"> <tt id="link-11" class="py-name" targets="Class paramiko.BadAuthenticationType=paramiko.BadAuthenticationType-class.html"><a title="paramiko.BadAuthenticationType" class="py-name" href="#" onclick="return doclink('link-11', 'BadAuthenticationType', 'link-11');">BadAuthenticationType</a></tt><tt class="py-op">,</tt> <tt id="link-12" class="py-name" targets="Class paramiko.ssh_exception.PartialAuthentication=paramiko.ssh_exception.PartialAuthentication-class.html"><a title="paramiko.ssh_exception.PartialAuthentication" class="py-name" href="#" onclick="return doclink('link-12', 'PartialAuthentication', 'link-12');">PartialAuthentication</a></tt> </tt> +<a name="L34"></a><tt class="py-lineno"> 34</tt> <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-13" class="py-name"><a title="paramiko" class="py-name" href="#" onclick="return doclink('link-13', 'paramiko', 'link-0');">paramiko</a></tt><tt class="py-op">.</tt><tt id="link-14" class="py-name" targets="Module paramiko.server=paramiko.server-module.html"><a title="paramiko.server" class="py-name" href="#" onclick="return doclink('link-14', 'server', 'link-14');">server</a></tt> <tt class="py-keyword">import</tt> <tt class="py-name">InteractiveQuery</tt> </tt> +<a name="L35"></a><tt class="py-lineno"> 35</tt> <tt class="py-line"> </tt> +<a name="L36"></a><tt class="py-lineno"> 36</tt> <tt class="py-line"> </tt> +<a name="AuthHandler"></a><div id="AuthHandler-def"><a name="L37"></a><tt class="py-lineno"> 37</tt> <a class="py-toggle" href="#" id="AuthHandler-toggle" onclick="return toggle('AuthHandler');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="paramiko.auth_handler.AuthHandler-class.html">AuthHandler</a> <tt class="py-op">(</tt><tt class="py-base-class">object</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> +</div><div id="AuthHandler-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="AuthHandler-expanded"><a name="L38"></a><tt class="py-lineno"> 38</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt> +<a name="L39"></a><tt class="py-lineno"> 39</tt> <tt class="py-line"><tt class="py-docstring"> Internal class to handle the mechanics of authentication.</tt> </tt> +<a name="L40"></a><tt class="py-lineno"> 40</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt> +<a name="L41"></a><tt class="py-lineno"> 41</tt> <tt class="py-line"> </tt> +<a name="AuthHandler.__init__"></a><div id="AuthHandler.__init__-def"><a name="L42"></a><tt class="py-lineno"> 42</tt> <a class="py-toggle" href="#" id="AuthHandler.__init__-toggle" onclick="return toggle('AuthHandler.__init__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="paramiko.auth_handler.AuthHandler-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">transport</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> +</div><div id="AuthHandler.__init__-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="AuthHandler.__init__-expanded"><a name="L43"></a><tt class="py-lineno"> 43</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-15" class="py-name" targets="Module paramiko.transport=paramiko.transport-module.html"><a title="paramiko.transport" class="py-name" href="#" onclick="return doclink('link-15', 'transport', 'link-15');">transport</a></tt> <tt class="py-op">=</tt> <tt class="py-name">weakref</tt><tt class="py-op">.</tt><tt class="py-name">proxy</tt><tt class="py-op">(</tt><tt id="link-16" class="py-name"><a title="paramiko.transport" class="py-name" href="#" onclick="return doclink('link-16', 'transport', 'link-15');">transport</a></tt><tt class="py-op">)</tt> </tt> +<a name="L44"></a><tt class="py-lineno"> 44</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">username</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt> +<a name="L45"></a><tt class="py-lineno"> 45</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">authenticated</tt> <tt class="py-op">=</tt> <tt class="py-name">False</tt> </tt> +<a name="L46"></a><tt class="py-lineno"> 46</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">auth_event</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt> +<a name="L47"></a><tt class="py-lineno"> 47</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">auth_method</tt> <tt class="py-op">=</tt> <tt class="py-string">''</tt> </tt> +<a name="L48"></a><tt class="py-lineno"> 48</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">password</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt> +<a name="L49"></a><tt class="py-lineno"> 49</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">private_key</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt> +<a name="L50"></a><tt class="py-lineno"> 50</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">interactive_handler</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt> +<a name="L51"></a><tt class="py-lineno"> 51</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">submethods</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt> +<a name="L52"></a><tt class="py-lineno"> 52</tt> <tt class="py-line"> <tt class="py-comment"># for server mode:</tt> </tt> +<a name="L53"></a><tt class="py-lineno"> 53</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">auth_username</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt> +<a name="L54"></a><tt class="py-lineno"> 54</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">auth_fail_count</tt> <tt class="py-op">=</tt> <tt class="py-number">0</tt> </tt> +</div><a name="L55"></a><tt class="py-lineno"> 55</tt> <tt class="py-line"> </tt> +<a name="AuthHandler.is_authenticated"></a><div id="AuthHandler.is_authenticated-def"><a name="L56"></a><tt class="py-lineno"> 56</tt> <a class="py-toggle" href="#" id="AuthHandler.is_authenticated-toggle" onclick="return toggle('AuthHandler.is_authenticated');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="paramiko.auth_handler.AuthHandler-class.html#is_authenticated">is_authenticated</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> +</div><div id="AuthHandler.is_authenticated-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="AuthHandler.is_authenticated-expanded"><a name="L57"></a><tt class="py-lineno"> 57</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">authenticated</tt> </tt> +</div><a name="L58"></a><tt class="py-lineno"> 58</tt> <tt class="py-line"> </tt> +<a name="AuthHandler.get_username"></a><div id="AuthHandler.get_username-def"><a name="L59"></a><tt class="py-lineno"> 59</tt> <a class="py-toggle" href="#" id="AuthHandler.get_username-toggle" onclick="return toggle('AuthHandler.get_username');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="paramiko.auth_handler.AuthHandler-class.html#get_username">get_username</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> +</div><div id="AuthHandler.get_username-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="AuthHandler.get_username-expanded"><a name="L60"></a><tt class="py-lineno"> 60</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-17" class="py-name"><a title="paramiko.transport" class="py-name" href="#" onclick="return doclink('link-17', 'transport', 'link-15');">transport</a></tt><tt class="py-op">.</tt><tt class="py-name">server_mode</tt><tt class="py-op">:</tt> </tt> +<a name="L61"></a><tt class="py-lineno"> 61</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">auth_username</tt> </tt> +<a name="L62"></a><tt class="py-lineno"> 62</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt> +<a name="L63"></a><tt class="py-lineno"> 63</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">username</tt> </tt> +</div><a name="L64"></a><tt class="py-lineno"> 64</tt> <tt class="py-line"> </tt> +<a name="AuthHandler.auth_none"></a><div id="AuthHandler.auth_none-def"><a name="L65"></a><tt class="py-lineno"> 65</tt> <a class="py-toggle" href="#" id="AuthHandler.auth_none-toggle" onclick="return toggle('AuthHandler.auth_none');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="paramiko.auth_handler.AuthHandler-class.html#auth_none">auth_none</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">username</tt><tt class="py-op">,</tt> <tt class="py-param">event</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> +</div><div id="AuthHandler.auth_none-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="AuthHandler.auth_none-expanded"><a name="L66"></a><tt class="py-lineno"> 66</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-18" class="py-name"><a title="paramiko.transport" class="py-name" href="#" onclick="return doclink('link-18', 'transport', 'link-15');">transport</a></tt><tt class="py-op">.</tt><tt class="py-name">lock</tt><tt class="py-op">.</tt><tt class="py-name">acquire</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> +<a name="L67"></a><tt class="py-lineno"> 67</tt> <tt class="py-line"> <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt> +<a name="L68"></a><tt class="py-lineno"> 68</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">auth_event</tt> <tt class="py-op">=</tt> <tt class="py-name">event</tt> </tt> +<a name="L69"></a><tt class="py-lineno"> 69</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">auth_method</tt> <tt class="py-op">=</tt> <tt class="py-string">'none'</tt> </tt> +<a name="L70"></a><tt class="py-lineno"> 70</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">username</tt> <tt class="py-op">=</tt> <tt class="py-name">username</tt> </tt> +<a name="L71"></a><tt class="py-lineno"> 71</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_request_auth</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> +<a name="L72"></a><tt class="py-lineno"> 72</tt> <tt class="py-line"> <tt class="py-keyword">finally</tt><tt class="py-op">:</tt> </tt> +<a name="L73"></a><tt class="py-lineno"> 73</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-19" class="py-name"><a title="paramiko.transport" class="py-name" href="#" onclick="return doclink('link-19', 'transport', 'link-15');">transport</a></tt><tt class="py-op">.</tt><tt class="py-name">lock</tt><tt class="py-op">.</tt><tt class="py-name">release</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> +</div><a name="L74"></a><tt class="py-lineno"> 74</tt> <tt class="py-line"> </tt> +<a name="AuthHandler.auth_publickey"></a><div id="AuthHandler.auth_publickey-def"><a name="L75"></a><tt class="py-lineno"> 75</tt> <a class="py-toggle" href="#" id="AuthHandler.auth_publickey-toggle" onclick="return toggle('AuthHandler.auth_publickey');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="paramiko.auth_handler.AuthHandler-class.html#auth_publickey">auth_publickey</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">username</tt><tt class="py-op">,</tt> <tt class="py-param">key</tt><tt class="py-op">,</tt> <tt class="py-param">event</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> +</div><div id="AuthHandler.auth_publickey-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="AuthHandler.auth_publickey-expanded"><a name="L76"></a><tt class="py-lineno"> 76</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-20" class="py-name"><a title="paramiko.transport" class="py-name" href="#" onclick="return doclink('link-20', 'transport', 'link-15');">transport</a></tt><tt class="py-op">.</tt><tt class="py-name">lock</tt><tt class="py-op">.</tt><tt class="py-name">acquire</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> +<a name="L77"></a><tt class="py-lineno"> 77</tt> <tt class="py-line"> <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt> +<a name="L78"></a><tt class="py-lineno"> 78</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">auth_event</tt> <tt class="py-op">=</tt> <tt class="py-name">event</tt> </tt> +<a name="L79"></a><tt class="py-lineno"> 79</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">auth_method</tt> <tt class="py-op">=</tt> <tt class="py-string">'publickey'</tt> </tt> +<a name="L80"></a><tt class="py-lineno"> 80</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">username</tt> <tt class="py-op">=</tt> <tt class="py-name">username</tt> </tt> +<a name="L81"></a><tt class="py-lineno"> 81</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">private_key</tt> <tt class="py-op">=</tt> <tt class="py-name">key</tt> </tt> +<a name="L82"></a><tt class="py-lineno"> 82</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_request_auth</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> +<a name="L83"></a><tt class="py-lineno"> 83</tt> <tt class="py-line"> <tt class="py-keyword">finally</tt><tt class="py-op">:</tt> </tt> +<a name="L84"></a><tt class="py-lineno"> 84</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-21" class="py-name"><a title="paramiko.transport" class="py-name" href="#" onclick="return doclink('link-21', 'transport', 'link-15');">transport</a></tt><tt class="py-op">.</tt><tt class="py-name">lock</tt><tt class="py-op">.</tt><tt class="py-name">release</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> +</div><a name="L85"></a><tt class="py-lineno"> 85</tt> <tt class="py-line"> </tt> +<a name="AuthHandler.auth_password"></a><div id="AuthHandler.auth_password-def"><a name="L86"></a><tt class="py-lineno"> 86</tt> <a class="py-toggle" href="#" id="AuthHandler.auth_password-toggle" onclick="return toggle('AuthHandler.auth_password');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="paramiko.auth_handler.AuthHandler-class.html#auth_password">auth_password</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">username</tt><tt class="py-op">,</tt> <tt class="py-param">password</tt><tt class="py-op">,</tt> <tt class="py-param">event</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> +</div><div id="AuthHandler.auth_password-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="AuthHandler.auth_password-expanded"><a name="L87"></a><tt class="py-lineno"> 87</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-22" class="py-name"><a title="paramiko.transport" class="py-name" href="#" onclick="return doclink('link-22', 'transport', 'link-15');">transport</a></tt><tt class="py-op">.</tt><tt class="py-name">lock</tt><tt class="py-op">.</tt><tt class="py-name">acquire</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> +<a name="L88"></a><tt class="py-lineno"> 88</tt> <tt class="py-line"> <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt> +<a name="L89"></a><tt class="py-lineno"> 89</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">auth_event</tt> <tt class="py-op">=</tt> <tt class="py-name">event</tt> </tt> +<a name="L90"></a><tt class="py-lineno"> 90</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">auth_method</tt> <tt class="py-op">=</tt> <tt class="py-string">'password'</tt> </tt> +<a name="L91"></a><tt class="py-lineno"> 91</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">username</tt> <tt class="py-op">=</tt> <tt class="py-name">username</tt> </tt> +<a name="L92"></a><tt class="py-lineno"> 92</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">password</tt> <tt class="py-op">=</tt> <tt class="py-name">password</tt> </tt> +<a name="L93"></a><tt class="py-lineno"> 93</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_request_auth</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> +<a name="L94"></a><tt class="py-lineno"> 94</tt> <tt class="py-line"> <tt class="py-keyword">finally</tt><tt class="py-op">:</tt> </tt> +<a name="L95"></a><tt class="py-lineno"> 95</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-23" class="py-name"><a title="paramiko.transport" class="py-name" href="#" onclick="return doclink('link-23', 'transport', 'link-15');">transport</a></tt><tt class="py-op">.</tt><tt class="py-name">lock</tt><tt class="py-op">.</tt><tt class="py-name">release</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> +</div><a name="L96"></a><tt class="py-lineno"> 96</tt> <tt class="py-line"> </tt> +<a name="AuthHandler.auth_interactive"></a><div id="AuthHandler.auth_interactive-def"><a name="L97"></a><tt class="py-lineno"> 97</tt> <a class="py-toggle" href="#" id="AuthHandler.auth_interactive-toggle" onclick="return toggle('AuthHandler.auth_interactive');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="paramiko.auth_handler.AuthHandler-class.html#auth_interactive">auth_interactive</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">username</tt><tt class="py-op">,</tt> <tt class="py-param">handler</tt><tt class="py-op">,</tt> <tt class="py-param">event</tt><tt class="py-op">,</tt> <tt class="py-param">submethods</tt><tt class="py-op">=</tt><tt class="py-string">''</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> +</div><div id="AuthHandler.auth_interactive-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="AuthHandler.auth_interactive-expanded"><a name="L98"></a><tt class="py-lineno"> 98</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt> +<a name="L99"></a><tt class="py-lineno"> 99</tt> <tt class="py-line"><tt class="py-docstring"> response_list = handler(title, instructions, prompt_list)</tt> </tt> +<a name="L100"></a><tt class="py-lineno">100</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt> +<a name="L101"></a><tt class="py-lineno">101</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-24" class="py-name"><a title="paramiko.transport" class="py-name" href="#" onclick="return doclink('link-24', 'transport', 'link-15');">transport</a></tt><tt class="py-op">.</tt><tt class="py-name">lock</tt><tt class="py-op">.</tt><tt class="py-name">acquire</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> +<a name="L102"></a><tt class="py-lineno">102</tt> <tt class="py-line"> <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt> +<a name="L103"></a><tt class="py-lineno">103</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">auth_event</tt> <tt class="py-op">=</tt> <tt class="py-name">event</tt> </tt> +<a name="L104"></a><tt class="py-lineno">104</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">auth_method</tt> <tt class="py-op">=</tt> <tt class="py-string">'keyboard-interactive'</tt> </tt> +<a name="L105"></a><tt class="py-lineno">105</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">username</tt> <tt class="py-op">=</tt> <tt class="py-name">username</tt> </tt> +<a name="L106"></a><tt class="py-lineno">106</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">interactive_handler</tt> <tt class="py-op">=</tt> <tt class="py-name">handler</tt> </tt> +<a name="L107"></a><tt class="py-lineno">107</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">submethods</tt> <tt class="py-op">=</tt> <tt class="py-name">submethods</tt> </tt> +<a name="L108"></a><tt class="py-lineno">108</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_request_auth</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> +<a name="L109"></a><tt class="py-lineno">109</tt> <tt class="py-line"> <tt class="py-keyword">finally</tt><tt class="py-op">:</tt> </tt> +<a name="L110"></a><tt class="py-lineno">110</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-25" class="py-name"><a title="paramiko.transport" class="py-name" href="#" onclick="return doclink('link-25', 'transport', 'link-15');">transport</a></tt><tt class="py-op">.</tt><tt class="py-name">lock</tt><tt class="py-op">.</tt><tt class="py-name">release</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> +</div><a name="L111"></a><tt class="py-lineno">111</tt> <tt class="py-line"> </tt> +<a name="AuthHandler.abort"></a><div id="AuthHandler.abort-def"><a name="L112"></a><tt class="py-lineno">112</tt> <a class="py-toggle" href="#" id="AuthHandler.abort-toggle" onclick="return toggle('AuthHandler.abort');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="paramiko.auth_handler.AuthHandler-class.html#abort">abort</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> +</div><div id="AuthHandler.abort-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="AuthHandler.abort-expanded"><a name="L113"></a><tt class="py-lineno">113</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">auth_event</tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt> +<a name="L114"></a><tt class="py-lineno">114</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">auth_event</tt><tt class="py-op">.</tt><tt id="link-26" class="py-name" targets="Method paramiko.pipe.OrPipe.set()=paramiko.pipe.OrPipe-class.html#set,Method paramiko.pipe.PosixPipe.set()=paramiko.pipe.PosixPipe-class.html#set,Method paramiko.pipe.WindowsPipe.set()=paramiko.pipe.WindowsPipe-class.html#set"><a title="paramiko.pipe.OrPipe.set +paramiko.pipe.PosixPipe.set +paramiko.pipe.WindowsPipe.set" class="py-name" href="#" onclick="return doclink('link-26', 'set', 'link-26');">set</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> +</div><a name="L115"></a><tt class="py-lineno">115</tt> <tt class="py-line"> </tt> +<a name="L116"></a><tt class="py-lineno">116</tt> <tt class="py-line"> </tt> +<a name="L117"></a><tt class="py-lineno">117</tt> <tt class="py-line"> <tt class="py-comment">### internals...</tt> </tt> +<a name="L118"></a><tt class="py-lineno">118</tt> <tt class="py-line"><tt class="py-comment"></tt> </tt> +<a name="L119"></a><tt class="py-lineno">119</tt> <tt class="py-line"> </tt> +<a name="AuthHandler._request_auth"></a><div id="AuthHandler._request_auth-def"><a name="L120"></a><tt class="py-lineno">120</tt> <a class="py-toggle" href="#" id="AuthHandler._request_auth-toggle" onclick="return toggle('AuthHandler._request_auth');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="paramiko.auth_handler.AuthHandler-class.html#_request_auth">_request_auth</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> +</div><div id="AuthHandler._request_auth-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="AuthHandler._request_auth-expanded"><a name="L121"></a><tt class="py-lineno">121</tt> <tt class="py-line"> <tt class="py-name">m</tt> <tt class="py-op">=</tt> <tt id="link-27" class="py-name"><a title="paramiko.Message" class="py-name" href="#" onclick="return doclink('link-27', 'Message', 'link-6');">Message</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> +<a name="L122"></a><tt class="py-lineno">122</tt> <tt class="py-line"> <tt class="py-name">m</tt><tt class="py-op">.</tt><tt id="link-28" class="py-name" targets="Method paramiko.Message.add_byte()=paramiko.Message-class.html#add_byte"><a title="paramiko.Message.add_byte" class="py-name" href="#" onclick="return doclink('link-28', 'add_byte', 'link-28');">add_byte</a></tt><tt class="py-op">(</tt><tt class="py-name">chr</tt><tt class="py-op">(</tt><tt id="link-29" class="py-name" targets="Variable paramiko.auth_handler.MSG_SERVICE_REQUEST=paramiko.auth_handler-module.html#MSG_SERVICE_REQUEST,Variable paramiko.channel.MSG_SERVICE_REQUEST=paramiko.channel-module.html#MSG_SERVICE_REQUEST,Variable paramiko.client.MSG_SERVICE_REQUEST=paramiko.client-module.html#MSG_SERVICE_REQUEST,Variable paramiko.common.MSG_SERVICE_REQUEST=paramiko.common-module.html#MSG_SERVICE_REQUEST,Variable paramiko.dsskey.MSG_SERVICE_REQUEST=paramiko.dsskey-module.html#MSG_SERVICE_REQUEST,Variable paramiko.hostkeys.MSG_SERVICE_REQUEST=paramiko.hostkeys-module.html#MSG_SERVICE_REQUEST,Variable paramiko.kex_gex.MSG_SERVICE_REQUEST=paramiko.kex_gex-module.html#MSG_SERVICE_REQUEST,Variable paramiko.kex_group1.MSG_SERVICE_REQUEST=paramiko.kex_group1-module.html#MSG_SERVICE_REQUEST,Variable paramiko.packet.MSG_SERVICE_REQUEST=paramiko.packet-module.html#MSG_SERVICE_REQUEST,Variable paramiko.pkey.MSG_SERVICE_REQUEST=paramiko.pkey-module.html#MSG_SERVICE_REQUEST,Variable paramiko.rsakey.MSG_SERVICE_REQUEST=paramiko.rsakey-module.html#MSG_SERVICE_REQUEST,Variable paramiko.server.MSG_SERVICE_REQUEST=paramiko.server-module.html#MSG_SERVICE_REQUEST,Variable paramiko.sftp.MSG_SERVICE_REQUEST=paramiko.sftp-module.html#MSG_SERVICE_REQUEST,Variable paramiko.sftp_attr.MSG_SERVICE_REQUEST=paramiko.sftp_attr-module.html#MSG_SERVICE_REQUEST,Variable paramiko.sftp_client.MSG_SERVICE_REQUEST=paramiko.sftp_client-module.html#MSG_SERVICE_REQUEST,Variable paramiko.sftp_file.MSG_SERVICE_REQUEST=paramiko.sftp_file-module.html#MSG_SERVICE_REQUEST,Variable paramiko.sftp_handle.MSG_SERVICE_REQUEST=paramiko.sftp_handle-module.html#MSG_SERVICE_REQUEST,Variable paramiko.sftp_server.MSG_SERVICE_REQUEST=paramiko.sftp_server-module.html#MSG_SERVICE_REQUEST,Variable paramiko.sftp_si.MSG_SERVICE_REQUEST=paramiko.sftp_si-module.html#MSG_SERVICE_REQUEST,Variable paramiko.transport.MSG_SERVICE_REQUEST=paramiko.transport-module.html#MSG_SERVICE_REQUEST,Variable paramiko.util.MSG_SERVICE_REQUEST=paramiko.util-module.html#MSG_SERVICE_REQUEST"><a title="paramiko.auth_handler.MSG_SERVICE_REQUEST +paramiko.channel.MSG_SERVICE_REQUEST +paramiko.client.MSG_SERVICE_REQUEST +paramiko.common.MSG_SERVICE_REQUEST +paramiko.dsskey.MSG_SERVICE_REQUEST +paramiko.hostkeys.MSG_SERVICE_REQUEST +paramiko.kex_gex.MSG_SERVICE_REQUEST +paramiko.kex_group1.MSG_SERVICE_REQUEST +paramiko.packet.MSG_SERVICE_REQUEST +paramiko.pkey.MSG_SERVICE_REQUEST +paramiko.rsakey.MSG_SERVICE_REQUEST +paramiko.server.MSG_SERVICE_REQUEST +paramiko.sftp.MSG_SERVICE_REQUEST +paramiko.sftp_attr.MSG_SERVICE_REQUEST +paramiko.sftp_client.MSG_SERVICE_REQUEST +paramiko.sftp_file.MSG_SERVICE_REQUEST +paramiko.sftp_handle.MSG_SERVICE_REQUEST +paramiko.sftp_server.MSG_SERVICE_REQUEST +paramiko.sftp_si.MSG_SERVICE_REQUEST +paramiko.transport.MSG_SERVICE_REQUEST +paramiko.util.MSG_SERVICE_REQUEST" class="py-name" href="#" onclick="return doclink('link-29', 'MSG_SERVICE_REQUEST', 'link-29');">MSG_SERVICE_REQUEST</a></tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt> +<a name="L123"></a><tt class="py-lineno">123</tt> <tt class="py-line"> <tt class="py-name">m</tt><tt class="py-op">.</tt><tt id="link-30" class="py-name" targets="Method paramiko.Message.add_string()=paramiko.Message-class.html#add_string"><a title="paramiko.Message.add_string" class="py-name" href="#" onclick="return doclink('link-30', 'add_string', 'link-30');">add_string</a></tt><tt class="py-op">(</tt><tt class="py-string">'ssh-userauth'</tt><tt class="py-op">)</tt> </tt> +<a name="L124"></a><tt class="py-lineno">124</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-31" class="py-name"><a title="paramiko.transport" class="py-name" href="#" onclick="return doclink('link-31', 'transport', 'link-15');">transport</a></tt><tt class="py-op">.</tt><tt class="py-name">_send_message</tt><tt class="py-op">(</tt><tt class="py-name">m</tt><tt class="py-op">)</tt> </tt> +</div><a name="L125"></a><tt class="py-lineno">125</tt> <tt class="py-line"> </tt> +<a name="AuthHandler._disconnect_service_not_available"></a><div id="AuthHandler._disconnect_service_not_available-def"><a name="L126"></a><tt class="py-lineno">126</tt> <a class="py-toggle" href="#" id="AuthHandler._disconnect_service_not_available-toggle" onclick="return toggle('AuthHandler._disconnect_service_not_available');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="paramiko.auth_handler.AuthHandler-class.html#_disconnect_service_not_available">_disconnect_service_not_available</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> +</div><div id="AuthHandler._disconnect_service_not_available-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="AuthHandler._disconnect_service_not_available-expanded"><a name="L127"></a><tt class="py-lineno">127</tt> <tt class="py-line"> <tt class="py-name">m</tt> <tt class="py-op">=</tt> <tt id="link-32" class="py-name"><a title="paramiko.Message" class="py-name" href="#" onclick="return doclink('link-32', 'Message', 'link-6');">Message</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> +<a name="L128"></a><tt class="py-lineno">128</tt> <tt class="py-line"> <tt class="py-name">m</tt><tt class="py-op">.</tt><tt id="link-33" class="py-name"><a title="paramiko.Message.add_byte" class="py-name" href="#" onclick="return doclink('link-33', 'add_byte', 'link-28');">add_byte</a></tt><tt class="py-op">(</tt><tt class="py-name">chr</tt><tt class="py-op">(</tt><tt id="link-34" class="py-name" targets="Variable paramiko.auth_handler.MSG_DISCONNECT=paramiko.auth_handler-module.html#MSG_DISCONNECT,Variable paramiko.channel.MSG_DISCONNECT=paramiko.channel-module.html#MSG_DISCONNECT,Variable paramiko.client.MSG_DISCONNECT=paramiko.client-module.html#MSG_DISCONNECT,Variable paramiko.common.MSG_DISCONNECT=paramiko.common-module.html#MSG_DISCONNECT,Variable paramiko.dsskey.MSG_DISCONNECT=paramiko.dsskey-module.html#MSG_DISCONNECT,Variable paramiko.hostkeys.MSG_DISCONNECT=paramiko.hostkeys-module.html#MSG_DISCONNECT,Variable paramiko.kex_gex.MSG_DISCONNECT=paramiko.kex_gex-module.html#MSG_DISCONNECT,Variable paramiko.kex_group1.MSG_DISCONNECT=paramiko.kex_group1-module.html#MSG_DISCONNECT,Variable paramiko.packet.MSG_DISCONNECT=paramiko.packet-module.html#MSG_DISCONNECT,Variable paramiko.pkey.MSG_DISCONNECT=paramiko.pkey-module.html#MSG_DISCONNECT,Variable paramiko.rsakey.MSG_DISCONNECT=paramiko.rsakey-module.html#MSG_DISCONNECT,Variable paramiko.server.MSG_DISCONNECT=paramiko.server-module.html#MSG_DISCONNECT,Variable paramiko.sftp.MSG_DISCONNECT=paramiko.sftp-module.html#MSG_DISCONNECT,Variable paramiko.sftp_attr.MSG_DISCONNECT=paramiko.sftp_attr-module.html#MSG_DISCONNECT,Variable paramiko.sftp_client.MSG_DISCONNECT=paramiko.sftp_client-module.html#MSG_DISCONNECT,Variable paramiko.sftp_file.MSG_DISCONNECT=paramiko.sftp_file-module.html#MSG_DISCONNECT,Variable paramiko.sftp_handle.MSG_DISCONNECT=paramiko.sftp_handle-module.html#MSG_DISCONNECT,Variable paramiko.sftp_server.MSG_DISCONNECT=paramiko.sftp_server-module.html#MSG_DISCONNECT,Variable paramiko.sftp_si.MSG_DISCONNECT=paramiko.sftp_si-module.html#MSG_DISCONNECT,Variable paramiko.transport.MSG_DISCONNECT=paramiko.transport-module.html#MSG_DISCONNECT,Variable paramiko.util.MSG_DISCONNECT=paramiko.util-module.html#MSG_DISCONNECT"><a title="paramiko.auth_handler.MSG_DISCONNECT +paramiko.channel.MSG_DISCONNECT +paramiko.client.MSG_DISCONNECT +paramiko.common.MSG_DISCONNECT +paramiko.dsskey.MSG_DISCONNECT +paramiko.hostkeys.MSG_DISCONNECT +paramiko.kex_gex.MSG_DISCONNECT +paramiko.kex_group1.MSG_DISCONNECT +paramiko.packet.MSG_DISCONNECT +paramiko.pkey.MSG_DISCONNECT +paramiko.rsakey.MSG_DISCONNECT +paramiko.server.MSG_DISCONNECT +paramiko.sftp.MSG_DISCONNECT +paramiko.sftp_attr.MSG_DISCONNECT +paramiko.sftp_client.MSG_DISCONNECT +paramiko.sftp_file.MSG_DISCONNECT +paramiko.sftp_handle.MSG_DISCONNECT +paramiko.sftp_server.MSG_DISCONNECT +paramiko.sftp_si.MSG_DISCONNECT +paramiko.transport.MSG_DISCONNECT +paramiko.util.MSG_DISCONNECT" class="py-name" href="#" onclick="return doclink('link-34', 'MSG_DISCONNECT', 'link-34');">MSG_DISCONNECT</a></tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt> +<a name="L129"></a><tt class="py-lineno">129</tt> <tt class="py-line"> <tt class="py-name">m</tt><tt class="py-op">.</tt><tt id="link-35" class="py-name" targets="Method paramiko.Message.add_int()=paramiko.Message-class.html#add_int"><a title="paramiko.Message.add_int" class="py-name" href="#" onclick="return doclink('link-35', 'add_int', 'link-35');">add_int</a></tt><tt class="py-op">(</tt><tt id="link-36" class="py-name" targets="Variable paramiko.auth_handler.DISCONNECT_SERVICE_NOT_AVAILABLE=paramiko.auth_handler-module.html#DISCONNECT_SERVICE_NOT_AVAILABLE,Variable paramiko.channel.DISCONNECT_SERVICE_NOT_AVAILABLE=paramiko.channel-module.html#DISCONNECT_SERVICE_NOT_AVAILABLE,Variable paramiko.client.DISCONNECT_SERVICE_NOT_AVAILABLE=paramiko.client-module.html#DISCONNECT_SERVICE_NOT_AVAILABLE,Variable paramiko.common.DISCONNECT_SERVICE_NOT_AVAILABLE=paramiko.common-module.html#DISCONNECT_SERVICE_NOT_AVAILABLE,Variable paramiko.dsskey.DISCONNECT_SERVICE_NOT_AVAILABLE=paramiko.dsskey-module.html#DISCONNECT_SERVICE_NOT_AVAILABLE,Variable paramiko.hostkeys.DISCONNECT_SERVICE_NOT_AVAILABLE=paramiko.hostkeys-module.html#DISCONNECT_SERVICE_NOT_AVAILABLE,Variable paramiko.kex_gex.DISCONNECT_SERVICE_NOT_AVAILABLE=paramiko.kex_gex-module.html#DISCONNECT_SERVICE_NOT_AVAILABLE,Variable paramiko.kex_group1.DISCONNECT_SERVICE_NOT_AVAILABLE=paramiko.kex_group1-module.html#DISCONNECT_SERVICE_NOT_AVAILABLE,Variable paramiko.packet.DISCONNECT_SERVICE_NOT_AVAILABLE=paramiko.packet-module.html#DISCONNECT_SERVICE_NOT_AVAILABLE,Variable paramiko.pkey.DISCONNECT_SERVICE_NOT_AVAILABLE=paramiko.pkey-module.html#DISCONNECT_SERVICE_NOT_AVAILABLE,Variable paramiko.rsakey.DISCONNECT_SERVICE_NOT_AVAILABLE=paramiko.rsakey-module.html#DISCONNECT_SERVICE_NOT_AVAILABLE,Variable paramiko.server.DISCONNECT_SERVICE_NOT_AVAILABLE=paramiko.server-module.html#DISCONNECT_SERVICE_NOT_AVAILABLE,Variable paramiko.sftp.DISCONNECT_SERVICE_NOT_AVAILABLE=paramiko.sftp-module.html#DISCONNECT_SERVICE_NOT_AVAILABLE,Variable paramiko.sftp_attr.DISCONNECT_SERVICE_NOT_AVAILABLE=paramiko.sftp_attr-module.html#DISCONNECT_SERVICE_NOT_AVAILABLE,Variable paramiko.sftp_client.DISCONNECT_SERVICE_NOT_AVAILABLE=paramiko.sftp_client-module.html#DISCONNECT_SERVICE_NOT_AVAILABLE,Variable paramiko.sftp_file.DISCONNECT_SERVICE_NOT_AVAILABLE=paramiko.sftp_file-module.html#DISCONNECT_SERVICE_NOT_AVAILABLE,Variable paramiko.sftp_handle.DISCONNECT_SERVICE_NOT_AVAILABLE=paramiko.sftp_handle-module.html#DISCONNECT_SERVICE_NOT_AVAILABLE,Variable paramiko.sftp_server.DISCONNECT_SERVICE_NOT_AVAILABLE=paramiko.sftp_server-module.html#DISCONNECT_SERVICE_NOT_AVAILABLE,Variable paramiko.sftp_si.DISCONNECT_SERVICE_NOT_AVAILABLE=paramiko.sftp_si-module.html#DISCONNECT_SERVICE_NOT_AVAILABLE,Variable paramiko.transport.DISCONNECT_SERVICE_NOT_AVAILABLE=paramiko.transport-module.html#DISCONNECT_SERVICE_NOT_AVAILABLE,Variable paramiko.util.DISCONNECT_SERVICE_NOT_AVAILABLE=paramiko.util-module.html#DISCONNECT_SERVICE_NOT_AVAILABLE"><a title="paramiko.auth_handler.DISCONNECT_SERVICE_NOT_AVAILABLE +paramiko.channel.DISCONNECT_SERVICE_NOT_AVAILABLE +paramiko.client.DISCONNECT_SERVICE_NOT_AVAILABLE +paramiko.common.DISCONNECT_SERVICE_NOT_AVAILABLE +paramiko.dsskey.DISCONNECT_SERVICE_NOT_AVAILABLE +paramiko.hostkeys.DISCONNECT_SERVICE_NOT_AVAILABLE +paramiko.kex_gex.DISCONNECT_SERVICE_NOT_AVAILABLE +paramiko.kex_group1.DISCONNECT_SERVICE_NOT_AVAILABLE +paramiko.packet.DISCONNECT_SERVICE_NOT_AVAILABLE +paramiko.pkey.DISCONNECT_SERVICE_NOT_AVAILABLE +paramiko.rsakey.DISCONNECT_SERVICE_NOT_AVAILABLE +paramiko.server.DISCONNECT_SERVICE_NOT_AVAILABLE +paramiko.sftp.DISCONNECT_SERVICE_NOT_AVAILABLE +paramiko.sftp_attr.DISCONNECT_SERVICE_NOT_AVAILABLE +paramiko.sftp_client.DISCONNECT_SERVICE_NOT_AVAILABLE +paramiko.sftp_file.DISCONNECT_SERVICE_NOT_AVAILABLE +paramiko.sftp_handle.DISCONNECT_SERVICE_NOT_AVAILABLE +paramiko.sftp_server.DISCONNECT_SERVICE_NOT_AVAILABLE +paramiko.sftp_si.DISCONNECT_SERVICE_NOT_AVAILABLE +paramiko.transport.DISCONNECT_SERVICE_NOT_AVAILABLE +paramiko.util.DISCONNECT_SERVICE_NOT_AVAILABLE" class="py-name" href="#" onclick="return doclink('link-36', 'DISCONNECT_SERVICE_NOT_AVAILABLE', 'link-36');">DISCONNECT_SERVICE_NOT_AVAILABLE</a></tt><tt class="py-op">)</tt> </tt> +<a name="L130"></a><tt class="py-lineno">130</tt> <tt class="py-line"> <tt class="py-name">m</tt><tt class="py-op">.</tt><tt id="link-37" class="py-name"><a title="paramiko.Message.add_string" class="py-name" href="#" onclick="return doclink('link-37', 'add_string', 'link-30');">add_string</a></tt><tt class="py-op">(</tt><tt class="py-string">'Service not available'</tt><tt class="py-op">)</tt> </tt> +<a name="L131"></a><tt class="py-lineno">131</tt> <tt class="py-line"> <tt class="py-name">m</tt><tt class="py-op">.</tt><tt id="link-38" class="py-name"><a title="paramiko.Message.add_string" class="py-name" href="#" onclick="return doclink('link-38', 'add_string', 'link-30');">add_string</a></tt><tt class="py-op">(</tt><tt class="py-string">'en'</tt><tt class="py-op">)</tt> </tt> +<a name="L132"></a><tt class="py-lineno">132</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-39" class="py-name"><a title="paramiko.transport" class="py-name" href="#" onclick="return doclink('link-39', 'transport', 'link-15');">transport</a></tt><tt class="py-op">.</tt><tt class="py-name">_send_message</tt><tt class="py-op">(</tt><tt class="py-name">m</tt><tt class="py-op">)</tt> </tt> +<a name="L133"></a><tt class="py-lineno">133</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-40" class="py-name"><a title="paramiko.transport" class="py-name" href="#" onclick="return doclink('link-40', 'transport', 'link-15');">transport</a></tt><tt class="py-op">.</tt><tt id="link-41" class="py-name" targets="Method paramiko.Agent.close()=paramiko.Agent-class.html#close,Method paramiko.BufferedFile.close()=paramiko.BufferedFile-class.html#close,Method paramiko.Channel.close()=paramiko.Channel-class.html#close,Method paramiko.SFTPClient.close()=paramiko.SFTPClient-class.html#close,Method paramiko.SFTPFile.close()=paramiko.SFTPFile-class.html#close,Method paramiko.SFTPHandle.close()=paramiko.SFTPHandle-class.html#close,Method paramiko.SSHClient.close()=paramiko.SSHClient-class.html#close,Method paramiko.Transport.close()=paramiko.Transport-class.html#close,Method paramiko.buffered_pipe.BufferedPipe.close()=paramiko.buffered_pipe.BufferedPipe-class.html#close,Method paramiko.pipe.PosixPipe.close()=paramiko.pipe.PosixPipe-class.html#close,Method paramiko.pipe.WindowsPipe.close()=paramiko.pipe.WindowsPipe-class.html#close,Method paramiko.win_pageant.PageantConnection.close()=paramiko.win_pageant.PageantConnection-class.html#close"><a title="paramiko.Agent.close +paramiko.BufferedFile.close +paramiko.Channel.close +paramiko.SFTPClient.close +paramiko.SFTPFile.close +paramiko.SFTPHandle.close +paramiko.SSHClient.close +paramiko.Transport.close +paramiko.buffered_pipe.BufferedPipe.close +paramiko.pipe.PosixPipe.close +paramiko.pipe.WindowsPipe.close +paramiko.win_pageant.PageantConnection.close" class="py-name" href="#" onclick="return doclink('link-41', 'close', 'link-41');">close</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> +</div><a name="L134"></a><tt class="py-lineno">134</tt> <tt class="py-line"> </tt> +<a name="AuthHandler._disconnect_no_more_auth"></a><div id="AuthHandler._disconnect_no_more_auth-def"><a name="L135"></a><tt class="py-lineno">135</tt> <a class="py-toggle" href="#" id="AuthHandler._disconnect_no_more_auth-toggle" onclick="return toggle('AuthHandler._disconnect_no_more_auth');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="paramiko.auth_handler.AuthHandler-class.html#_disconnect_no_more_auth">_disconnect_no_more_auth</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> +</div><div id="AuthHandler._disconnect_no_more_auth-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="AuthHandler._disconnect_no_more_auth-expanded"><a name="L136"></a><tt class="py-lineno">136</tt> <tt class="py-line"> <tt class="py-name">m</tt> <tt class="py-op">=</tt> <tt id="link-42" class="py-name"><a title="paramiko.Message" class="py-name" href="#" onclick="return doclink('link-42', 'Message', 'link-6');">Message</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> +<a name="L137"></a><tt class="py-lineno">137</tt> <tt class="py-line"> <tt class="py-name">m</tt><tt class="py-op">.</tt><tt id="link-43" class="py-name"><a title="paramiko.Message.add_byte" class="py-name" href="#" onclick="return doclink('link-43', 'add_byte', 'link-28');">add_byte</a></tt><tt class="py-op">(</tt><tt class="py-name">chr</tt><tt class="py-op">(</tt><tt id="link-44" class="py-name"><a title="paramiko.auth_handler.MSG_DISCONNECT +paramiko.channel.MSG_DISCONNECT +paramiko.client.MSG_DISCONNECT +paramiko.common.MSG_DISCONNECT +paramiko.dsskey.MSG_DISCONNECT +paramiko.hostkeys.MSG_DISCONNECT +paramiko.kex_gex.MSG_DISCONNECT +paramiko.kex_group1.MSG_DISCONNECT +paramiko.packet.MSG_DISCONNECT +paramiko.pkey.MSG_DISCONNECT +paramiko.rsakey.MSG_DISCONNECT +paramiko.server.MSG_DISCONNECT +paramiko.sftp.MSG_DISCONNECT +paramiko.sftp_attr.MSG_DISCONNECT +paramiko.sftp_client.MSG_DISCONNECT +paramiko.sftp_file.MSG_DISCONNECT +paramiko.sftp_handle.MSG_DISCONNECT +paramiko.sftp_server.MSG_DISCONNECT +paramiko.sftp_si.MSG_DISCONNECT +paramiko.transport.MSG_DISCONNECT +paramiko.util.MSG_DISCONNECT" class="py-name" href="#" onclick="return doclink('link-44', 'MSG_DISCONNECT', 'link-34');">MSG_DISCONNECT</a></tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt> +<a name="L138"></a><tt class="py-lineno">138</tt> <tt class="py-line"> <tt class="py-name">m</tt><tt class="py-op">.</tt><tt id="link-45" class="py-name"><a title="paramiko.Message.add_int" class="py-name" href="#" onclick="return doclink('link-45', 'add_int', 'link-35');">add_int</a></tt><tt class="py-op">(</tt><tt id="link-46" class="py-name" targets="Variable paramiko.auth_handler.DISCONNECT_NO_MORE_AUTH_METHODS_AVAILABLE=paramiko.auth_handler-module.html#DISCONNECT_NO_MORE_AUTH_METHODS_AVAILABLE,Variable paramiko.channel.DISCONNECT_NO_MORE_AUTH_METHODS_AVAILABLE=paramiko.channel-module.html#DISCONNECT_NO_MORE_AUTH_METHODS_AVAILABLE,Variable paramiko.client.DISCONNECT_NO_MORE_AUTH_METHODS_AVAILABLE=paramiko.client-module.html#DISCONNECT_NO_MORE_AUTH_METHODS_AVAILABLE,Variable paramiko.common.DISCONNECT_NO_MORE_AUTH_METHODS_AVAILABLE=paramiko.common-module.html#DISCONNECT_NO_MORE_AUTH_METHODS_AVAILABLE,Variable paramiko.dsskey.DISCONNECT_NO_MORE_AUTH_METHODS_AVAILABLE=paramiko.dsskey-module.html#DISCONNECT_NO_MORE_AUTH_METHODS_AVAILABLE,Variable paramiko.hostkeys.DISCONNECT_NO_MORE_AUTH_METHODS_AVAILABLE=paramiko.hostkeys-module.html#DISCONNECT_NO_MORE_AUTH_METHODS_AVAILABLE,Variable paramiko.kex_gex.DISCONNECT_NO_MORE_AUTH_METHODS_AVAILABLE=paramiko.kex_gex-module.html#DISCONNECT_NO_MORE_AUTH_METHODS_AVAILABLE,Variable paramiko.kex_group1.DISCONNECT_NO_MORE_AUTH_METHODS_AVAILABLE=paramiko.kex_group1-module.html#DISCONNECT_NO_MORE_AUTH_METHODS_AVAILABLE,Variable paramiko.packet.DISCONNECT_NO_MORE_AUTH_METHODS_AVAILABLE=paramiko.packet-module.html#DISCONNECT_NO_MORE_AUTH_METHODS_AVAILABLE,Variable paramiko.pkey.DISCONNECT_NO_MORE_AUTH_METHODS_AVAILABLE=paramiko.pkey-module.html#DISCONNECT_NO_MORE_AUTH_METHODS_AVAILABLE,Variable paramiko.rsakey.DISCONNECT_NO_MORE_AUTH_METHODS_AVAILABLE=paramiko.rsakey-module.html#DISCONNECT_NO_MORE_AUTH_METHODS_AVAILABLE,Variable paramiko.server.DISCONNECT_NO_MORE_AUTH_METHODS_AVAILABLE=paramiko.server-module.html#DISCONNECT_NO_MORE_AUTH_METHODS_AVAILABLE,Variable paramiko.sftp.DISCONNECT_NO_MORE_AUTH_METHODS_AVAILABLE=paramiko.sftp-module.html#DISCONNECT_NO_MORE_AUTH_METHODS_AVAILABLE,Variable paramiko.sftp_attr.DISCONNECT_NO_MORE_AUTH_METHODS_AVAILABLE=paramiko.sftp_attr-module.html#DISCONNECT_NO_MORE_AUTH_METHODS_AVAILABLE,Variable paramiko.sftp_client.DISCONNECT_NO_MORE_AUTH_METHODS_AVAILABLE=paramiko.sftp_client-module.html#DISCONNECT_NO_MORE_AUTH_METHODS_AVAILABLE,Variable paramiko.sftp_file.DISCONNECT_NO_MORE_AUTH_METHODS_AVAILABLE=paramiko.sftp_file-module.html#DISCONNECT_NO_MORE_AUTH_METHODS_AVAILABLE,Variable paramiko.sftp_handle.DISCONNECT_NO_MORE_AUTH_METHODS_AVAILABLE=paramiko.sftp_handle-module.html#DISCONNECT_NO_MORE_AUTH_METHODS_AVAILABLE,Variable paramiko.sftp_server.DISCONNECT_NO_MORE_AUTH_METHODS_AVAILABLE=paramiko.sftp_server-module.html#DISCONNECT_NO_MORE_AUTH_METHODS_AVAILABLE,Variable paramiko.sftp_si.DISCONNECT_NO_MORE_AUTH_METHODS_AVAILABLE=paramiko.sftp_si-module.html#DISCONNECT_NO_MORE_AUTH_METHODS_AVAILABLE,Variable paramiko.transport.DISCONNECT_NO_MORE_AUTH_METHODS_AVAILABLE=paramiko.transport-module.html#DISCONNECT_NO_MORE_AUTH_METHODS_AVAILABLE,Variable paramiko.util.DISCONNECT_NO_MORE_AUTH_METHODS_AVAILABLE=paramiko.util-module.html#DISCONNECT_NO_MORE_AUTH_METHODS_AVAILABLE"><a title="paramiko.auth_handler.DISCONNECT_NO_MORE_AUTH_METHODS_AVAILABLE +paramiko.channel.DISCONNECT_NO_MORE_AUTH_METHODS_AVAILABLE +paramiko.client.DISCONNECT_NO_MORE_AUTH_METHODS_AVAILABLE +paramiko.common.DISCONNECT_NO_MORE_AUTH_METHODS_AVAILABLE +paramiko.dsskey.DISCONNECT_NO_MORE_AUTH_METHODS_AVAILABLE +paramiko.hostkeys.DISCONNECT_NO_MORE_AUTH_METHODS_AVAILABLE +paramiko.kex_gex.DISCONNECT_NO_MORE_AUTH_METHODS_AVAILABLE +paramiko.kex_group1.DISCONNECT_NO_MORE_AUTH_METHODS_AVAILABLE +paramiko.packet.DISCONNECT_NO_MORE_AUTH_METHODS_AVAILABLE +paramiko.pkey.DISCONNECT_NO_MORE_AUTH_METHODS_AVAILABLE +paramiko.rsakey.DISCONNECT_NO_MORE_AUTH_METHODS_AVAILABLE +paramiko.server.DISCONNECT_NO_MORE_AUTH_METHODS_AVAILABLE +paramiko.sftp.DISCONNECT_NO_MORE_AUTH_METHODS_AVAILABLE +paramiko.sftp_attr.DISCONNECT_NO_MORE_AUTH_METHODS_AVAILABLE +paramiko.sftp_client.DISCONNECT_NO_MORE_AUTH_METHODS_AVAILABLE +paramiko.sftp_file.DISCONNECT_NO_MORE_AUTH_METHODS_AVAILABLE +paramiko.sftp_handle.DISCONNECT_NO_MORE_AUTH_METHODS_AVAILABLE +paramiko.sftp_server.DISCONNECT_NO_MORE_AUTH_METHODS_AVAILABLE +paramiko.sftp_si.DISCONNECT_NO_MORE_AUTH_METHODS_AVAILABLE +paramiko.transport.DISCONNECT_NO_MORE_AUTH_METHODS_AVAILABLE +paramiko.util.DISCONNECT_NO_MORE_AUTH_METHODS_AVAILABLE" class="py-name" href="#" onclick="return doclink('link-46', 'DISCONNECT_NO_MORE_AUTH_METHODS_AVAILABLE', 'link-46');">DISCONNECT_NO_MORE_AUTH_METHODS_AVAILABLE</a></tt><tt class="py-op">)</tt> </tt> +<a name="L139"></a><tt class="py-lineno">139</tt> <tt class="py-line"> <tt class="py-name">m</tt><tt class="py-op">.</tt><tt id="link-47" class="py-name"><a title="paramiko.Message.add_string" class="py-name" href="#" onclick="return doclink('link-47', 'add_string', 'link-30');">add_string</a></tt><tt class="py-op">(</tt><tt class="py-string">'No more auth methods available'</tt><tt class="py-op">)</tt> </tt> +<a name="L140"></a><tt class="py-lineno">140</tt> <tt class="py-line"> <tt class="py-name">m</tt><tt class="py-op">.</tt><tt id="link-48" class="py-name"><a title="paramiko.Message.add_string" class="py-name" href="#" onclick="return doclink('link-48', 'add_string', 'link-30');">add_string</a></tt><tt class="py-op">(</tt><tt class="py-string">'en'</tt><tt class="py-op">)</tt> </tt> +<a name="L141"></a><tt class="py-lineno">141</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-49" class="py-name"><a title="paramiko.transport" class="py-name" href="#" onclick="return doclink('link-49', 'transport', 'link-15');">transport</a></tt><tt class="py-op">.</tt><tt class="py-name">_send_message</tt><tt class="py-op">(</tt><tt class="py-name">m</tt><tt class="py-op">)</tt> </tt> +<a name="L142"></a><tt class="py-lineno">142</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-50" class="py-name"><a title="paramiko.transport" class="py-name" href="#" onclick="return doclink('link-50', 'transport', 'link-15');">transport</a></tt><tt class="py-op">.</tt><tt id="link-51" class="py-name"><a title="paramiko.Agent.close +paramiko.BufferedFile.close +paramiko.Channel.close +paramiko.SFTPClient.close +paramiko.SFTPFile.close +paramiko.SFTPHandle.close +paramiko.SSHClient.close +paramiko.Transport.close +paramiko.buffered_pipe.BufferedPipe.close +paramiko.pipe.PosixPipe.close +paramiko.pipe.WindowsPipe.close +paramiko.win_pageant.PageantConnection.close" class="py-name" href="#" onclick="return doclink('link-51', 'close', 'link-41');">close</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> +</div><a name="L143"></a><tt class="py-lineno">143</tt> <tt class="py-line"> </tt> +<a name="AuthHandler._get_session_blob"></a><div id="AuthHandler._get_session_blob-def"><a name="L144"></a><tt class="py-lineno">144</tt> <a class="py-toggle" href="#" id="AuthHandler._get_session_blob-toggle" onclick="return toggle('AuthHandler._get_session_blob');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="paramiko.auth_handler.AuthHandler-class.html#_get_session_blob">_get_session_blob</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">key</tt><tt class="py-op">,</tt> <tt class="py-param">service</tt><tt class="py-op">,</tt> <tt class="py-param">username</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> +</div><div id="AuthHandler._get_session_blob-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="AuthHandler._get_session_blob-expanded"><a name="L145"></a><tt class="py-lineno">145</tt> <tt class="py-line"> <tt class="py-name">m</tt> <tt class="py-op">=</tt> <tt id="link-52" class="py-name"><a title="paramiko.Message" class="py-name" href="#" onclick="return doclink('link-52', 'Message', 'link-6');">Message</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> +<a name="L146"></a><tt class="py-lineno">146</tt> <tt class="py-line"> <tt class="py-name">m</tt><tt class="py-op">.</tt><tt id="link-53" class="py-name"><a title="paramiko.Message.add_string" class="py-name" href="#" onclick="return doclink('link-53', 'add_string', 'link-30');">add_string</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-54" class="py-name"><a title="paramiko.transport" class="py-name" href="#" onclick="return doclink('link-54', 'transport', 'link-15');">transport</a></tt><tt class="py-op">.</tt><tt class="py-name">session_id</tt><tt class="py-op">)</tt> </tt> +<a name="L147"></a><tt class="py-lineno">147</tt> <tt class="py-line"> <tt class="py-name">m</tt><tt class="py-op">.</tt><tt id="link-55" class="py-name"><a title="paramiko.Message.add_byte" class="py-name" href="#" onclick="return doclink('link-55', 'add_byte', 'link-28');">add_byte</a></tt><tt class="py-op">(</tt><tt class="py-name">chr</tt><tt class="py-op">(</tt><tt id="link-56" class="py-name" targets="Variable paramiko.auth_handler.MSG_USERAUTH_REQUEST=paramiko.auth_handler-module.html#MSG_USERAUTH_REQUEST,Variable paramiko.channel.MSG_USERAUTH_REQUEST=paramiko.channel-module.html#MSG_USERAUTH_REQUEST,Variable paramiko.client.MSG_USERAUTH_REQUEST=paramiko.client-module.html#MSG_USERAUTH_REQUEST,Variable paramiko.common.MSG_USERAUTH_REQUEST=paramiko.common-module.html#MSG_USERAUTH_REQUEST,Variable paramiko.dsskey.MSG_USERAUTH_REQUEST=paramiko.dsskey-module.html#MSG_USERAUTH_REQUEST,Variable paramiko.hostkeys.MSG_USERAUTH_REQUEST=paramiko.hostkeys-module.html#MSG_USERAUTH_REQUEST,Variable paramiko.kex_gex.MSG_USERAUTH_REQUEST=paramiko.kex_gex-module.html#MSG_USERAUTH_REQUEST,Variable paramiko.kex_group1.MSG_USERAUTH_REQUEST=paramiko.kex_group1-module.html#MSG_USERAUTH_REQUEST,Variable paramiko.packet.MSG_USERAUTH_REQUEST=paramiko.packet-module.html#MSG_USERAUTH_REQUEST,Variable paramiko.pkey.MSG_USERAUTH_REQUEST=paramiko.pkey-module.html#MSG_USERAUTH_REQUEST,Variable paramiko.rsakey.MSG_USERAUTH_REQUEST=paramiko.rsakey-module.html#MSG_USERAUTH_REQUEST,Variable paramiko.server.MSG_USERAUTH_REQUEST=paramiko.server-module.html#MSG_USERAUTH_REQUEST,Variable paramiko.sftp.MSG_USERAUTH_REQUEST=paramiko.sftp-module.html#MSG_USERAUTH_REQUEST,Variable paramiko.sftp_attr.MSG_USERAUTH_REQUEST=paramiko.sftp_attr-module.html#MSG_USERAUTH_REQUEST,Variable paramiko.sftp_client.MSG_USERAUTH_REQUEST=paramiko.sftp_client-module.html#MSG_USERAUTH_REQUEST,Variable paramiko.sftp_file.MSG_USERAUTH_REQUEST=paramiko.sftp_file-module.html#MSG_USERAUTH_REQUEST,Variable paramiko.sftp_handle.MSG_USERAUTH_REQUEST=paramiko.sftp_handle-module.html#MSG_USERAUTH_REQUEST,Variable paramiko.sftp_server.MSG_USERAUTH_REQUEST=paramiko.sftp_server-module.html#MSG_USERAUTH_REQUEST,Variable paramiko.sftp_si.MSG_USERAUTH_REQUEST=paramiko.sftp_si-module.html#MSG_USERAUTH_REQUEST,Variable paramiko.transport.MSG_USERAUTH_REQUEST=paramiko.transport-module.html#MSG_USERAUTH_REQUEST,Variable paramiko.util.MSG_USERAUTH_REQUEST=paramiko.util-module.html#MSG_USERAUTH_REQUEST"><a title="paramiko.auth_handler.MSG_USERAUTH_REQUEST +paramiko.channel.MSG_USERAUTH_REQUEST +paramiko.client.MSG_USERAUTH_REQUEST +paramiko.common.MSG_USERAUTH_REQUEST +paramiko.dsskey.MSG_USERAUTH_REQUEST +paramiko.hostkeys.MSG_USERAUTH_REQUEST +paramiko.kex_gex.MSG_USERAUTH_REQUEST +paramiko.kex_group1.MSG_USERAUTH_REQUEST +paramiko.packet.MSG_USERAUTH_REQUEST +paramiko.pkey.MSG_USERAUTH_REQUEST +paramiko.rsakey.MSG_USERAUTH_REQUEST +paramiko.server.MSG_USERAUTH_REQUEST +paramiko.sftp.MSG_USERAUTH_REQUEST +paramiko.sftp_attr.MSG_USERAUTH_REQUEST +paramiko.sftp_client.MSG_USERAUTH_REQUEST +paramiko.sftp_file.MSG_USERAUTH_REQUEST +paramiko.sftp_handle.MSG_USERAUTH_REQUEST +paramiko.sftp_server.MSG_USERAUTH_REQUEST +paramiko.sftp_si.MSG_USERAUTH_REQUEST +paramiko.transport.MSG_USERAUTH_REQUEST +paramiko.util.MSG_USERAUTH_REQUEST" class="py-name" href="#" onclick="return doclink('link-56', 'MSG_USERAUTH_REQUEST', 'link-56');">MSG_USERAUTH_REQUEST</a></tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt> +<a name="L148"></a><tt class="py-lineno">148</tt> <tt class="py-line"> <tt class="py-name">m</tt><tt class="py-op">.</tt><tt id="link-57" class="py-name"><a title="paramiko.Message.add_string" class="py-name" href="#" onclick="return doclink('link-57', 'add_string', 'link-30');">add_string</a></tt><tt class="py-op">(</tt><tt class="py-name">username</tt><tt class="py-op">)</tt> </tt> +<a name="L149"></a><tt class="py-lineno">149</tt> <tt class="py-line"> <tt class="py-name">m</tt><tt class="py-op">.</tt><tt id="link-58" class="py-name"><a title="paramiko.Message.add_string" class="py-name" href="#" onclick="return doclink('link-58', 'add_string', 'link-30');">add_string</a></tt><tt class="py-op">(</tt><tt class="py-name">service</tt><tt class="py-op">)</tt> </tt> +<a name="L150"></a><tt class="py-lineno">150</tt> <tt class="py-line"> <tt class="py-name">m</tt><tt class="py-op">.</tt><tt id="link-59" class="py-name"><a title="paramiko.Message.add_string" class="py-name" href="#" onclick="return doclink('link-59', 'add_string', 'link-30');">add_string</a></tt><tt class="py-op">(</tt><tt class="py-string">'publickey'</tt><tt class="py-op">)</tt> </tt> +<a name="L151"></a><tt class="py-lineno">151</tt> <tt class="py-line"> <tt class="py-name">m</tt><tt class="py-op">.</tt><tt id="link-60" class="py-name" targets="Method paramiko.Message.add_boolean()=paramiko.Message-class.html#add_boolean"><a title="paramiko.Message.add_boolean" class="py-name" href="#" onclick="return doclink('link-60', 'add_boolean', 'link-60');">add_boolean</a></tt><tt class="py-op">(</tt><tt class="py-number">1</tt><tt class="py-op">)</tt> </tt> +<a name="L152"></a><tt class="py-lineno">152</tt> <tt class="py-line"> <tt class="py-name">m</tt><tt class="py-op">.</tt><tt id="link-61" class="py-name"><a title="paramiko.Message.add_string" class="py-name" href="#" onclick="return doclink('link-61', 'add_string', 'link-30');">add_string</a></tt><tt class="py-op">(</tt><tt class="py-name">key</tt><tt class="py-op">.</tt><tt id="link-62" class="py-name" targets="Method paramiko.AgentKey.get_name()=paramiko.AgentKey-class.html#get_name,Method paramiko.Channel.get_name()=paramiko.Channel-class.html#get_name,Method paramiko.DSSKey.get_name()=paramiko.DSSKey-class.html#get_name,Method paramiko.PKey.get_name()=paramiko.PKey-class.html#get_name,Method paramiko.RSAKey.get_name()=paramiko.RSAKey-class.html#get_name"><a title="paramiko.AgentKey.get_name +paramiko.Channel.get_name +paramiko.DSSKey.get_name +paramiko.PKey.get_name +paramiko.RSAKey.get_name" class="py-name" href="#" onclick="return doclink('link-62', 'get_name', 'link-62');">get_name</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt> +<a name="L153"></a><tt class="py-lineno">153</tt> <tt class="py-line"> <tt class="py-name">m</tt><tt class="py-op">.</tt><tt id="link-63" class="py-name"><a title="paramiko.Message.add_string" class="py-name" href="#" onclick="return doclink('link-63', 'add_string', 'link-30');">add_string</a></tt><tt class="py-op">(</tt><tt class="py-name">str</tt><tt class="py-op">(</tt><tt class="py-name">key</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt> +<a name="L154"></a><tt class="py-lineno">154</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">str</tt><tt class="py-op">(</tt><tt class="py-name">m</tt><tt class="py-op">)</tt> </tt> +</div><a name="L155"></a><tt class="py-lineno">155</tt> <tt class="py-line"> </tt> +<a name="AuthHandler.wait_for_response"></a><div id="AuthHandler.wait_for_response-def"><a name="L156"></a><tt class="py-lineno">156</tt> <a class="py-toggle" href="#" id="AuthHandler.wait_for_response-toggle" onclick="return toggle('AuthHandler.wait_for_response');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="paramiko.auth_handler.AuthHandler-class.html#wait_for_response">wait_for_response</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">event</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> +</div><div id="AuthHandler.wait_for_response-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="AuthHandler.wait_for_response-expanded"><a name="L157"></a><tt class="py-lineno">157</tt> <tt class="py-line"> <tt class="py-keyword">while</tt> <tt class="py-name">True</tt><tt class="py-op">:</tt> </tt> +<a name="L158"></a><tt class="py-lineno">158</tt> <tt class="py-line"> <tt class="py-name">event</tt><tt class="py-op">.</tt><tt class="py-name">wait</tt><tt class="py-op">(</tt><tt class="py-number">0.1</tt><tt class="py-op">)</tt> </tt> +<a name="L159"></a><tt class="py-lineno">159</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-64" class="py-name"><a title="paramiko.transport" class="py-name" href="#" onclick="return doclink('link-64', 'transport', 'link-15');">transport</a></tt><tt class="py-op">.</tt><tt id="link-65" class="py-name" targets="Method paramiko.Transport.is_active()=paramiko.Transport-class.html#is_active"><a title="paramiko.Transport.is_active" class="py-name" href="#" onclick="return doclink('link-65', 'is_active', 'link-65');">is_active</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> +<a name="L160"></a><tt class="py-lineno">160</tt> <tt class="py-line"> <tt class="py-name">e</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-66" class="py-name"><a title="paramiko.transport" class="py-name" href="#" onclick="return doclink('link-66', 'transport', 'link-15');">transport</a></tt><tt class="py-op">.</tt><tt id="link-67" class="py-name" targets="Method paramiko.Transport.get_exception()=paramiko.Transport-class.html#get_exception"><a title="paramiko.Transport.get_exception" class="py-name" href="#" onclick="return doclink('link-67', 'get_exception', 'link-67');">get_exception</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> +<a name="L161"></a><tt class="py-lineno">161</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-op">(</tt><tt class="py-name">e</tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">)</tt> <tt class="py-keyword">or</tt> <tt class="py-name">issubclass</tt><tt class="py-op">(</tt><tt class="py-name">e</tt><tt class="py-op">.</tt><tt class="py-name">__class__</tt><tt class="py-op">,</tt> <tt class="py-name">EOFError</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> +<a name="L162"></a><tt class="py-lineno">162</tt> <tt class="py-line"> <tt class="py-name">e</tt> <tt class="py-op">=</tt> <tt id="link-68" class="py-name"><a title="paramiko.AuthenticationException" class="py-name" href="#" onclick="return doclink('link-68', 'AuthenticationException', 'link-10');">AuthenticationException</a></tt><tt class="py-op">(</tt><tt class="py-string">'Authentication failed.'</tt><tt class="py-op">)</tt> </tt> +<a name="L163"></a><tt class="py-lineno">163</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">e</tt> </tt> +<a name="L164"></a><tt class="py-lineno">164</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">event</tt><tt class="py-op">.</tt><tt class="py-name">isSet</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> +<a name="L165"></a><tt class="py-lineno">165</tt> <tt class="py-line"> <tt class="py-keyword">break</tt> </tt> +<a name="L166"></a><tt class="py-lineno">166</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-69" class="py-name" targets="Method paramiko.Transport.is_authenticated()=paramiko.Transport-class.html#is_authenticated"><a title="paramiko.Transport.is_authenticated" class="py-name" href="#" onclick="return doclink('link-69', 'is_authenticated', 'link-69');">is_authenticated</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> +<a name="L167"></a><tt class="py-lineno">167</tt> <tt class="py-line"> <tt class="py-name">e</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-70" class="py-name"><a title="paramiko.transport" class="py-name" href="#" onclick="return doclink('link-70', 'transport', 'link-15');">transport</a></tt><tt class="py-op">.</tt><tt id="link-71" class="py-name"><a title="paramiko.Transport.get_exception" class="py-name" href="#" onclick="return doclink('link-71', 'get_exception', 'link-67');">get_exception</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> +<a name="L168"></a><tt class="py-lineno">168</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">e</tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt> +<a name="L169"></a><tt class="py-lineno">169</tt> <tt class="py-line"> <tt class="py-name">e</tt> <tt class="py-op">=</tt> <tt id="link-72" class="py-name"><a title="paramiko.AuthenticationException" class="py-name" href="#" onclick="return doclink('link-72', 'AuthenticationException', 'link-10');">AuthenticationException</a></tt><tt class="py-op">(</tt><tt class="py-string">'Authentication failed.'</tt><tt class="py-op">)</tt> </tt> +<a name="L170"></a><tt class="py-lineno">170</tt> <tt class="py-line"> <tt class="py-comment"># this is horrible. python Exception isn't yet descended from</tt> </tt> +<a name="L171"></a><tt class="py-lineno">171</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-comment"># object, so type(e) won't work. :(</tt> </tt> +<a name="L172"></a><tt class="py-lineno">172</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-keyword">if</tt> <tt class="py-name">issubclass</tt><tt class="py-op">(</tt><tt class="py-name">e</tt><tt class="py-op">.</tt><tt class="py-name">__class__</tt><tt class="py-op">,</tt> <tt id="link-73" class="py-name"><a title="paramiko.ssh_exception.PartialAuthentication" class="py-name" href="#" onclick="return doclink('link-73', 'PartialAuthentication', 'link-12');">PartialAuthentication</a></tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> +<a name="L173"></a><tt class="py-lineno">173</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">e</tt><tt class="py-op">.</tt><tt id="link-74" class="py-name" targets="Variable paramiko.BadAuthenticationType.allowed_types=paramiko.BadAuthenticationType-class.html#allowed_types,Variable paramiko.ssh_exception.PartialAuthentication.allowed_types=paramiko.ssh_exception.PartialAuthentication-class.html#allowed_types"><a title="paramiko.BadAuthenticationType.allowed_types +paramiko.ssh_exception.PartialAuthentication.allowed_types" class="py-name" href="#" onclick="return doclink('link-74', 'allowed_types', 'link-74');">allowed_types</a></tt> </tt> +<a name="L174"></a><tt class="py-lineno">174</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">e</tt> </tt> +<a name="L175"></a><tt class="py-lineno">175</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">[</tt><tt class="py-op">]</tt> </tt> +</div><a name="L176"></a><tt class="py-lineno">176</tt> <tt class="py-line"> </tt> +<a name="AuthHandler._parse_service_request"></a><div id="AuthHandler._parse_service_request-def"><a name="L177"></a><tt class="py-lineno">177</tt> <a class="py-toggle" href="#" id="AuthHandler._parse_service_request-toggle" onclick="return toggle('AuthHandler._parse_service_request');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="paramiko.auth_handler.AuthHandler-class.html#_parse_service_request">_parse_service_request</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">m</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> +</div><div id="AuthHandler._parse_service_request-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="AuthHandler._parse_service_request-expanded"><a name="L178"></a><tt class="py-lineno">178</tt> <tt class="py-line"> <tt class="py-name">service</tt> <tt class="py-op">=</tt> <tt class="py-name">m</tt><tt class="py-op">.</tt><tt id="link-75" class="py-name" targets="Method paramiko.Message.get_string()=paramiko.Message-class.html#get_string"><a title="paramiko.Message.get_string" class="py-name" href="#" onclick="return doclink('link-75', 'get_string', 'link-75');">get_string</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> +<a name="L179"></a><tt class="py-lineno">179</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-76" class="py-name"><a title="paramiko.transport" class="py-name" href="#" onclick="return doclink('link-76', 'transport', 'link-15');">transport</a></tt><tt class="py-op">.</tt><tt class="py-name">server_mode</tt> <tt class="py-keyword">and</tt> <tt class="py-op">(</tt><tt class="py-name">service</tt> <tt class="py-op">==</tt> <tt class="py-string">'ssh-userauth'</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> +<a name="L180"></a><tt class="py-lineno">180</tt> <tt class="py-line"> <tt class="py-comment"># accepted</tt> </tt> +<a name="L181"></a><tt class="py-lineno">181</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-name">m</tt> <tt class="py-op">=</tt> <tt id="link-77" class="py-name"><a title="paramiko.Message" class="py-name" href="#" onclick="return doclink('link-77', 'Message', 'link-6');">Message</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> +<a name="L182"></a><tt class="py-lineno">182</tt> <tt class="py-line"> <tt class="py-name">m</tt><tt class="py-op">.</tt><tt id="link-78" class="py-name"><a title="paramiko.Message.add_byte" class="py-name" href="#" onclick="return doclink('link-78', 'add_byte', 'link-28');">add_byte</a></tt><tt class="py-op">(</tt><tt class="py-name">chr</tt><tt class="py-op">(</tt><tt id="link-79" class="py-name" targets="Variable paramiko.auth_handler.MSG_SERVICE_ACCEPT=paramiko.auth_handler-module.html#MSG_SERVICE_ACCEPT,Variable paramiko.channel.MSG_SERVICE_ACCEPT=paramiko.channel-module.html#MSG_SERVICE_ACCEPT,Variable paramiko.client.MSG_SERVICE_ACCEPT=paramiko.client-module.html#MSG_SERVICE_ACCEPT,Variable paramiko.common.MSG_SERVICE_ACCEPT=paramiko.common-module.html#MSG_SERVICE_ACCEPT,Variable paramiko.dsskey.MSG_SERVICE_ACCEPT=paramiko.dsskey-module.html#MSG_SERVICE_ACCEPT,Variable paramiko.hostkeys.MSG_SERVICE_ACCEPT=paramiko.hostkeys-module.html#MSG_SERVICE_ACCEPT,Variable paramiko.kex_gex.MSG_SERVICE_ACCEPT=paramiko.kex_gex-module.html#MSG_SERVICE_ACCEPT,Variable paramiko.kex_group1.MSG_SERVICE_ACCEPT=paramiko.kex_group1-module.html#MSG_SERVICE_ACCEPT,Variable paramiko.packet.MSG_SERVICE_ACCEPT=paramiko.packet-module.html#MSG_SERVICE_ACCEPT,Variable paramiko.pkey.MSG_SERVICE_ACCEPT=paramiko.pkey-module.html#MSG_SERVICE_ACCEPT,Variable paramiko.rsakey.MSG_SERVICE_ACCEPT=paramiko.rsakey-module.html#MSG_SERVICE_ACCEPT,Variable paramiko.server.MSG_SERVICE_ACCEPT=paramiko.server-module.html#MSG_SERVICE_ACCEPT,Variable paramiko.sftp.MSG_SERVICE_ACCEPT=paramiko.sftp-module.html#MSG_SERVICE_ACCEPT,Variable paramiko.sftp_attr.MSG_SERVICE_ACCEPT=paramiko.sftp_attr-module.html#MSG_SERVICE_ACCEPT,Variable paramiko.sftp_client.MSG_SERVICE_ACCEPT=paramiko.sftp_client-module.html#MSG_SERVICE_ACCEPT,Variable paramiko.sftp_file.MSG_SERVICE_ACCEPT=paramiko.sftp_file-module.html#MSG_SERVICE_ACCEPT,Variable paramiko.sftp_handle.MSG_SERVICE_ACCEPT=paramiko.sftp_handle-module.html#MSG_SERVICE_ACCEPT,Variable paramiko.sftp_server.MSG_SERVICE_ACCEPT=paramiko.sftp_server-module.html#MSG_SERVICE_ACCEPT,Variable paramiko.sftp_si.MSG_SERVICE_ACCEPT=paramiko.sftp_si-module.html#MSG_SERVICE_ACCEPT,Variable paramiko.transport.MSG_SERVICE_ACCEPT=paramiko.transport-module.html#MSG_SERVICE_ACCEPT,Variable paramiko.util.MSG_SERVICE_ACCEPT=paramiko.util-module.html#MSG_SERVICE_ACCEPT"><a title="paramiko.auth_handler.MSG_SERVICE_ACCEPT +paramiko.channel.MSG_SERVICE_ACCEPT +paramiko.client.MSG_SERVICE_ACCEPT +paramiko.common.MSG_SERVICE_ACCEPT +paramiko.dsskey.MSG_SERVICE_ACCEPT +paramiko.hostkeys.MSG_SERVICE_ACCEPT +paramiko.kex_gex.MSG_SERVICE_ACCEPT +paramiko.kex_group1.MSG_SERVICE_ACCEPT +paramiko.packet.MSG_SERVICE_ACCEPT +paramiko.pkey.MSG_SERVICE_ACCEPT +paramiko.rsakey.MSG_SERVICE_ACCEPT +paramiko.server.MSG_SERVICE_ACCEPT +paramiko.sftp.MSG_SERVICE_ACCEPT +paramiko.sftp_attr.MSG_SERVICE_ACCEPT +paramiko.sftp_client.MSG_SERVICE_ACCEPT +paramiko.sftp_file.MSG_SERVICE_ACCEPT +paramiko.sftp_handle.MSG_SERVICE_ACCEPT +paramiko.sftp_server.MSG_SERVICE_ACCEPT +paramiko.sftp_si.MSG_SERVICE_ACCEPT +paramiko.transport.MSG_SERVICE_ACCEPT +paramiko.util.MSG_SERVICE_ACCEPT" class="py-name" href="#" onclick="return doclink('link-79', 'MSG_SERVICE_ACCEPT', 'link-79');">MSG_SERVICE_ACCEPT</a></tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt> +<a name="L183"></a><tt class="py-lineno">183</tt> <tt class="py-line"> <tt class="py-name">m</tt><tt class="py-op">.</tt><tt id="link-80" class="py-name"><a title="paramiko.Message.add_string" class="py-name" href="#" onclick="return doclink('link-80', 'add_string', 'link-30');">add_string</a></tt><tt class="py-op">(</tt><tt class="py-name">service</tt><tt class="py-op">)</tt> </tt> +<a name="L184"></a><tt class="py-lineno">184</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-81" class="py-name"><a title="paramiko.transport" class="py-name" href="#" onclick="return doclink('link-81', 'transport', 'link-15');">transport</a></tt><tt class="py-op">.</tt><tt class="py-name">_send_message</tt><tt class="py-op">(</tt><tt class="py-name">m</tt><tt class="py-op">)</tt> </tt> +<a name="L185"></a><tt class="py-lineno">185</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> </tt> +<a name="L186"></a><tt class="py-lineno">186</tt> <tt class="py-line"> <tt class="py-comment"># dunno this one</tt> </tt> +<a name="L187"></a><tt class="py-lineno">187</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_disconnect_service_not_available</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> +</div><a name="L188"></a><tt class="py-lineno">188</tt> <tt class="py-line"> </tt> +<a name="AuthHandler._parse_service_accept"></a><div id="AuthHandler._parse_service_accept-def"><a name="L189"></a><tt class="py-lineno">189</tt> <a class="py-toggle" href="#" id="AuthHandler._parse_service_accept-toggle" onclick="return toggle('AuthHandler._parse_service_accept');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="paramiko.auth_handler.AuthHandler-class.html#_parse_service_accept">_parse_service_accept</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">m</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> +</div><div id="AuthHandler._parse_service_accept-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="AuthHandler._parse_service_accept-expanded"><a name="L190"></a><tt class="py-lineno">190</tt> <tt class="py-line"> <tt class="py-name">service</tt> <tt class="py-op">=</tt> <tt class="py-name">m</tt><tt class="py-op">.</tt><tt id="link-82" class="py-name"><a title="paramiko.Message.get_string" class="py-name" href="#" onclick="return doclink('link-82', 'get_string', 'link-75');">get_string</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> +<a name="L191"></a><tt class="py-lineno">191</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">service</tt> <tt class="py-op">==</tt> <tt class="py-string">'ssh-userauth'</tt><tt class="py-op">:</tt> </tt> +<a name="L192"></a><tt class="py-lineno">192</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-83" class="py-name"><a title="paramiko.transport" class="py-name" href="#" onclick="return doclink('link-83', 'transport', 'link-15');">transport</a></tt><tt class="py-op">.</tt><tt class="py-name">_log</tt><tt class="py-op">(</tt><tt id="link-84" class="py-name" targets="Variable paramiko.auth_handler.DEBUG=paramiko.auth_handler-module.html#DEBUG,Variable paramiko.channel.DEBUG=paramiko.channel-module.html#DEBUG,Variable paramiko.client.DEBUG=paramiko.client-module.html#DEBUG,Variable paramiko.common.DEBUG=paramiko.common-module.html#DEBUG,Variable paramiko.dsskey.DEBUG=paramiko.dsskey-module.html#DEBUG,Variable paramiko.hostkeys.DEBUG=paramiko.hostkeys-module.html#DEBUG,Variable paramiko.kex_gex.DEBUG=paramiko.kex_gex-module.html#DEBUG,Variable paramiko.kex_group1.DEBUG=paramiko.kex_group1-module.html#DEBUG,Variable paramiko.logging22.DEBUG=paramiko.logging22-module.html#DEBUG,Variable paramiko.packet.DEBUG=paramiko.packet-module.html#DEBUG,Variable paramiko.pkey.DEBUG=paramiko.pkey-module.html#DEBUG,Variable paramiko.rsakey.DEBUG=paramiko.rsakey-module.html#DEBUG,Variable paramiko.server.DEBUG=paramiko.server-module.html#DEBUG,Variable paramiko.sftp.DEBUG=paramiko.sftp-module.html#DEBUG,Variable paramiko.sftp_attr.DEBUG=paramiko.sftp_attr-module.html#DEBUG,Variable paramiko.sftp_client.DEBUG=paramiko.sftp_client-module.html#DEBUG,Variable paramiko.sftp_file.DEBUG=paramiko.sftp_file-module.html#DEBUG,Variable paramiko.sftp_handle.DEBUG=paramiko.sftp_handle-module.html#DEBUG,Variable paramiko.sftp_server.DEBUG=paramiko.sftp_server-module.html#DEBUG,Variable paramiko.sftp_si.DEBUG=paramiko.sftp_si-module.html#DEBUG,Variable paramiko.transport.DEBUG=paramiko.transport-module.html#DEBUG,Variable paramiko.util.DEBUG=paramiko.util-module.html#DEBUG"><a title="paramiko.auth_handler.DEBUG +paramiko.channel.DEBUG +paramiko.client.DEBUG +paramiko.common.DEBUG +paramiko.dsskey.DEBUG +paramiko.hostkeys.DEBUG +paramiko.kex_gex.DEBUG +paramiko.kex_group1.DEBUG +paramiko.logging22.DEBUG +paramiko.packet.DEBUG +paramiko.pkey.DEBUG +paramiko.rsakey.DEBUG +paramiko.server.DEBUG +paramiko.sftp.DEBUG +paramiko.sftp_attr.DEBUG +paramiko.sftp_client.DEBUG +paramiko.sftp_file.DEBUG +paramiko.sftp_handle.DEBUG +paramiko.sftp_server.DEBUG +paramiko.sftp_si.DEBUG +paramiko.transport.DEBUG +paramiko.util.DEBUG" class="py-name" href="#" onclick="return doclink('link-84', 'DEBUG', 'link-84');">DEBUG</a></tt><tt class="py-op">,</tt> <tt class="py-string">'userauth is OK'</tt><tt class="py-op">)</tt> </tt> +<a name="L193"></a><tt class="py-lineno">193</tt> <tt class="py-line"> <tt class="py-name">m</tt> <tt class="py-op">=</tt> <tt id="link-85" class="py-name"><a title="paramiko.Message" class="py-name" href="#" onclick="return doclink('link-85', 'Message', 'link-6');">Message</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> +<a name="L194"></a><tt class="py-lineno">194</tt> <tt class="py-line"> <tt class="py-name">m</tt><tt class="py-op">.</tt><tt id="link-86" class="py-name"><a title="paramiko.Message.add_byte" class="py-name" href="#" onclick="return doclink('link-86', 'add_byte', 'link-28');">add_byte</a></tt><tt class="py-op">(</tt><tt class="py-name">chr</tt><tt class="py-op">(</tt><tt id="link-87" class="py-name"><a title="paramiko.auth_handler.MSG_USERAUTH_REQUEST +paramiko.channel.MSG_USERAUTH_REQUEST +paramiko.client.MSG_USERAUTH_REQUEST +paramiko.common.MSG_USERAUTH_REQUEST +paramiko.dsskey.MSG_USERAUTH_REQUEST +paramiko.hostkeys.MSG_USERAUTH_REQUEST +paramiko.kex_gex.MSG_USERAUTH_REQUEST +paramiko.kex_group1.MSG_USERAUTH_REQUEST +paramiko.packet.MSG_USERAUTH_REQUEST +paramiko.pkey.MSG_USERAUTH_REQUEST +paramiko.rsakey.MSG_USERAUTH_REQUEST +paramiko.server.MSG_USERAUTH_REQUEST +paramiko.sftp.MSG_USERAUTH_REQUEST +paramiko.sftp_attr.MSG_USERAUTH_REQUEST +paramiko.sftp_client.MSG_USERAUTH_REQUEST +paramiko.sftp_file.MSG_USERAUTH_REQUEST +paramiko.sftp_handle.MSG_USERAUTH_REQUEST +paramiko.sftp_server.MSG_USERAUTH_REQUEST +paramiko.sftp_si.MSG_USERAUTH_REQUEST +paramiko.transport.MSG_USERAUTH_REQUEST +paramiko.util.MSG_USERAUTH_REQUEST" class="py-name" href="#" onclick="return doclink('link-87', 'MSG_USERAUTH_REQUEST', 'link-56');">MSG_USERAUTH_REQUEST</a></tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt> +<a name="L195"></a><tt class="py-lineno">195</tt> <tt class="py-line"> <tt class="py-name">m</tt><tt class="py-op">.</tt><tt id="link-88" class="py-name"><a title="paramiko.Message.add_string" class="py-name" href="#" onclick="return doclink('link-88', 'add_string', 'link-30');">add_string</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">username</tt><tt class="py-op">)</tt> </tt> +<a name="L196"></a><tt class="py-lineno">196</tt> <tt class="py-line"> <tt class="py-name">m</tt><tt class="py-op">.</tt><tt id="link-89" class="py-name"><a title="paramiko.Message.add_string" class="py-name" href="#" onclick="return doclink('link-89', 'add_string', 'link-30');">add_string</a></tt><tt class="py-op">(</tt><tt class="py-string">'ssh-connection'</tt><tt class="py-op">)</tt> </tt> +<a name="L197"></a><tt class="py-lineno">197</tt> <tt class="py-line"> <tt class="py-name">m</tt><tt class="py-op">.</tt><tt id="link-90" class="py-name"><a title="paramiko.Message.add_string" class="py-name" href="#" onclick="return doclink('link-90', 'add_string', 'link-30');">add_string</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">auth_method</tt><tt class="py-op">)</tt> </tt> +<a name="L198"></a><tt class="py-lineno">198</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">auth_method</tt> <tt class="py-op">==</tt> <tt class="py-string">'password'</tt><tt class="py-op">:</tt> </tt> +<a name="L199"></a><tt class="py-lineno">199</tt> <tt class="py-line"> <tt class="py-name">m</tt><tt class="py-op">.</tt><tt id="link-91" class="py-name"><a title="paramiko.Message.add_boolean" class="py-name" href="#" onclick="return doclink('link-91', 'add_boolean', 'link-60');">add_boolean</a></tt><tt class="py-op">(</tt><tt class="py-name">False</tt><tt class="py-op">)</tt> </tt> +<a name="L200"></a><tt class="py-lineno">200</tt> <tt class="py-line"> <tt class="py-name">password</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">password</tt> </tt> +<a name="L201"></a><tt class="py-lineno">201</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">isinstance</tt><tt class="py-op">(</tt><tt class="py-name">password</tt><tt class="py-op">,</tt> <tt class="py-name">unicode</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> +<a name="L202"></a><tt class="py-lineno">202</tt> <tt class="py-line"> <tt class="py-name">password</tt> <tt class="py-op">=</tt> <tt class="py-name">password</tt><tt class="py-op">.</tt><tt id="link-92" class="py-name" targets="Method paramiko.ber.BER.encode()=paramiko.ber.BER-class.html#encode"><a title="paramiko.ber.BER.encode" class="py-name" href="#" onclick="return doclink('link-92', 'encode', 'link-92');">encode</a></tt><tt class="py-op">(</tt><tt class="py-string">'UTF-8'</tt><tt class="py-op">)</tt> </tt> +<a name="L203"></a><tt class="py-lineno">203</tt> <tt class="py-line"> <tt class="py-name">m</tt><tt class="py-op">.</tt><tt id="link-93" class="py-name"><a title="paramiko.Message.add_string" class="py-name" href="#" onclick="return doclink('link-93', 'add_string', 'link-30');">add_string</a></tt><tt class="py-op">(</tt><tt class="py-name">password</tt><tt class="py-op">)</tt> </tt> +<a name="L204"></a><tt class="py-lineno">204</tt> <tt class="py-line"> <tt class="py-keyword">elif</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">auth_method</tt> <tt class="py-op">==</tt> <tt class="py-string">'publickey'</tt><tt class="py-op">:</tt> </tt> +<a name="L205"></a><tt class="py-lineno">205</tt> <tt class="py-line"> <tt class="py-name">m</tt><tt class="py-op">.</tt><tt id="link-94" class="py-name"><a title="paramiko.Message.add_boolean" class="py-name" href="#" onclick="return doclink('link-94', 'add_boolean', 'link-60');">add_boolean</a></tt><tt class="py-op">(</tt><tt class="py-name">True</tt><tt class="py-op">)</tt> </tt> +<a name="L206"></a><tt class="py-lineno">206</tt> <tt class="py-line"> <tt class="py-name">m</tt><tt class="py-op">.</tt><tt id="link-95" class="py-name"><a title="paramiko.Message.add_string" class="py-name" href="#" onclick="return doclink('link-95', 'add_string', 'link-30');">add_string</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">private_key</tt><tt class="py-op">.</tt><tt id="link-96" class="py-name"><a title="paramiko.AgentKey.get_name +paramiko.Channel.get_name +paramiko.DSSKey.get_name +paramiko.PKey.get_name +paramiko.RSAKey.get_name" class="py-name" href="#" onclick="return doclink('link-96', 'get_name', 'link-62');">get_name</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt> +<a name="L207"></a><tt class="py-lineno">207</tt> <tt class="py-line"> <tt class="py-name">m</tt><tt class="py-op">.</tt><tt id="link-97" class="py-name"><a title="paramiko.Message.add_string" class="py-name" href="#" onclick="return doclink('link-97', 'add_string', 'link-30');">add_string</a></tt><tt class="py-op">(</tt><tt class="py-name">str</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">private_key</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt> +<a name="L208"></a><tt class="py-lineno">208</tt> <tt class="py-line"> <tt class="py-name">blob</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_get_session_blob</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">private_key</tt><tt class="py-op">,</tt> <tt class="py-string">'ssh-connection'</tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">username</tt><tt class="py-op">)</tt> </tt> +<a name="L209"></a><tt class="py-lineno">209</tt> <tt class="py-line"> <tt class="py-name">sig</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">private_key</tt><tt class="py-op">.</tt><tt id="link-98" class="py-name" targets="Method paramiko.AgentKey.sign_ssh_data()=paramiko.AgentKey-class.html#sign_ssh_data,Method paramiko.DSSKey.sign_ssh_data()=paramiko.DSSKey-class.html#sign_ssh_data,Method paramiko.PKey.sign_ssh_data()=paramiko.PKey-class.html#sign_ssh_data,Method paramiko.RSAKey.sign_ssh_data()=paramiko.RSAKey-class.html#sign_ssh_data"><a title="paramiko.AgentKey.sign_ssh_data +paramiko.DSSKey.sign_ssh_data +paramiko.PKey.sign_ssh_data +paramiko.RSAKey.sign_ssh_data" class="py-name" href="#" onclick="return doclink('link-98', 'sign_ssh_data', 'link-98');">sign_ssh_data</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-99" class="py-name"><a title="paramiko.transport" class="py-name" href="#" onclick="return doclink('link-99', 'transport', 'link-15');">transport</a></tt><tt class="py-op">.</tt><tt id="link-100" class="py-name" targets="Variable paramiko.auth_handler.randpool=paramiko.auth_handler-module.html#randpool,Variable paramiko.channel.randpool=paramiko.channel-module.html#randpool,Variable paramiko.client.randpool=paramiko.client-module.html#randpool,Variable paramiko.common.randpool=paramiko.common-module.html#randpool,Variable paramiko.dsskey.randpool=paramiko.dsskey-module.html#randpool,Variable paramiko.hostkeys.randpool=paramiko.hostkeys-module.html#randpool,Variable paramiko.kex_gex.randpool=paramiko.kex_gex-module.html#randpool,Variable paramiko.kex_group1.randpool=paramiko.kex_group1-module.html#randpool,Variable paramiko.packet.randpool=paramiko.packet-module.html#randpool,Variable paramiko.pkey.randpool=paramiko.pkey-module.html#randpool,Variable paramiko.rsakey.randpool=paramiko.rsakey-module.html#randpool,Variable paramiko.server.randpool=paramiko.server-module.html#randpool,Variable paramiko.sftp.randpool=paramiko.sftp-module.html#randpool,Variable paramiko.sftp_attr.randpool=paramiko.sftp_attr-module.html#randpool,Variable paramiko.sftp_client.randpool=paramiko.sftp_client-module.html#randpool,Variable paramiko.sftp_file.randpool=paramiko.sftp_file-module.html#randpool,Variable paramiko.sftp_handle.randpool=paramiko.sftp_handle-module.html#randpool,Variable paramiko.sftp_server.randpool=paramiko.sftp_server-module.html#randpool,Variable paramiko.sftp_si.randpool=paramiko.sftp_si-module.html#randpool,Variable paramiko.transport.randpool=paramiko.transport-module.html#randpool,Variable paramiko.util.randpool=paramiko.util-module.html#randpool"><a title="paramiko.auth_handler.randpool +paramiko.channel.randpool +paramiko.client.randpool +paramiko.common.randpool +paramiko.dsskey.randpool +paramiko.hostkeys.randpool +paramiko.kex_gex.randpool +paramiko.kex_group1.randpool +paramiko.packet.randpool +paramiko.pkey.randpool +paramiko.rsakey.randpool +paramiko.server.randpool +paramiko.sftp.randpool +paramiko.sftp_attr.randpool +paramiko.sftp_client.randpool +paramiko.sftp_file.randpool +paramiko.sftp_handle.randpool +paramiko.sftp_server.randpool +paramiko.sftp_si.randpool +paramiko.transport.randpool +paramiko.util.randpool" class="py-name" href="#" onclick="return doclink('link-100', 'randpool', 'link-100');">randpool</a></tt><tt class="py-op">,</tt> <tt class="py-name">blob</tt><tt class="py-op">)</tt> </tt> +<a name="L210"></a><tt class="py-lineno">210</tt> <tt class="py-line"> <tt class="py-name">m</tt><tt class="py-op">.</tt><tt id="link-101" class="py-name"><a title="paramiko.Message.add_string" class="py-name" href="#" onclick="return doclink('link-101', 'add_string', 'link-30');">add_string</a></tt><tt class="py-op">(</tt><tt class="py-name">str</tt><tt class="py-op">(</tt><tt class="py-name">sig</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt> +<a name="L211"></a><tt class="py-lineno">211</tt> <tt class="py-line"> <tt class="py-keyword">elif</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">auth_method</tt> <tt class="py-op">==</tt> <tt class="py-string">'keyboard-interactive'</tt><tt class="py-op">:</tt> </tt> +<a name="L212"></a><tt class="py-lineno">212</tt> <tt class="py-line"> <tt class="py-name">m</tt><tt class="py-op">.</tt><tt id="link-102" class="py-name"><a title="paramiko.Message.add_string" class="py-name" href="#" onclick="return doclink('link-102', 'add_string', 'link-30');">add_string</a></tt><tt class="py-op">(</tt><tt class="py-string">''</tt><tt class="py-op">)</tt> </tt> +<a name="L213"></a><tt class="py-lineno">213</tt> <tt class="py-line"> <tt class="py-name">m</tt><tt class="py-op">.</tt><tt id="link-103" class="py-name"><a title="paramiko.Message.add_string" class="py-name" href="#" onclick="return doclink('link-103', 'add_string', 'link-30');">add_string</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">submethods</tt><tt class="py-op">)</tt> </tt> +<a name="L214"></a><tt class="py-lineno">214</tt> <tt class="py-line"> <tt class="py-keyword">elif</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">auth_method</tt> <tt class="py-op">==</tt> <tt class="py-string">'none'</tt><tt class="py-op">:</tt> </tt> +<a name="L215"></a><tt class="py-lineno">215</tt> <tt class="py-line"> <tt class="py-keyword">pass</tt> </tt> +<a name="L216"></a><tt class="py-lineno">216</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt> +<a name="L217"></a><tt class="py-lineno">217</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt id="link-104" class="py-name"><a title="paramiko.SSHException" class="py-name" href="#" onclick="return doclink('link-104', 'SSHException', 'link-9');">SSHException</a></tt><tt class="py-op">(</tt><tt class="py-string">'Unknown auth method "%s"'</tt> <tt class="py-op">%</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">auth_method</tt><tt class="py-op">)</tt> </tt> +<a name="L218"></a><tt class="py-lineno">218</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-105" class="py-name"><a title="paramiko.transport" class="py-name" href="#" onclick="return doclink('link-105', 'transport', 'link-15');">transport</a></tt><tt class="py-op">.</tt><tt class="py-name">_send_message</tt><tt class="py-op">(</tt><tt class="py-name">m</tt><tt class="py-op">)</tt> </tt> +<a name="L219"></a><tt class="py-lineno">219</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt> +<a name="L220"></a><tt class="py-lineno">220</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-106" class="py-name"><a title="paramiko.transport" class="py-name" href="#" onclick="return doclink('link-106', 'transport', 'link-15');">transport</a></tt><tt class="py-op">.</tt><tt class="py-name">_log</tt><tt class="py-op">(</tt><tt id="link-107" class="py-name"><a title="paramiko.auth_handler.DEBUG +paramiko.channel.DEBUG +paramiko.client.DEBUG +paramiko.common.DEBUG +paramiko.dsskey.DEBUG +paramiko.hostkeys.DEBUG +paramiko.kex_gex.DEBUG +paramiko.kex_group1.DEBUG +paramiko.logging22.DEBUG +paramiko.packet.DEBUG +paramiko.pkey.DEBUG +paramiko.rsakey.DEBUG +paramiko.server.DEBUG +paramiko.sftp.DEBUG +paramiko.sftp_attr.DEBUG +paramiko.sftp_client.DEBUG +paramiko.sftp_file.DEBUG +paramiko.sftp_handle.DEBUG +paramiko.sftp_server.DEBUG +paramiko.sftp_si.DEBUG +paramiko.transport.DEBUG +paramiko.util.DEBUG" class="py-name" href="#" onclick="return doclink('link-107', 'DEBUG', 'link-84');">DEBUG</a></tt><tt class="py-op">,</tt> <tt class="py-string">'Service request "%s" accepted (?)'</tt> <tt class="py-op">%</tt> <tt class="py-name">service</tt><tt class="py-op">)</tt> </tt> +</div><a name="L221"></a><tt class="py-lineno">221</tt> <tt class="py-line"> </tt> +<a name="AuthHandler._send_auth_result"></a><div id="AuthHandler._send_auth_result-def"><a name="L222"></a><tt class="py-lineno">222</tt> <a class="py-toggle" href="#" id="AuthHandler._send_auth_result-toggle" onclick="return toggle('AuthHandler._send_auth_result');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="paramiko.auth_handler.AuthHandler-class.html#_send_auth_result">_send_auth_result</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">username</tt><tt class="py-op">,</tt> <tt class="py-param">method</tt><tt class="py-op">,</tt> <tt class="py-param">result</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> +</div><div id="AuthHandler._send_auth_result-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="AuthHandler._send_auth_result-expanded"><a name="L223"></a><tt class="py-lineno">223</tt> <tt class="py-line"> <tt class="py-comment"># okay, send result</tt> </tt> +<a name="L224"></a><tt class="py-lineno">224</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-name">m</tt> <tt class="py-op">=</tt> <tt id="link-108" class="py-name"><a title="paramiko.Message" class="py-name" href="#" onclick="return doclink('link-108', 'Message', 'link-6');">Message</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> +<a name="L225"></a><tt class="py-lineno">225</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">result</tt> <tt class="py-op">==</tt> <tt id="link-109" class="py-name" targets="Variable paramiko.auth_handler.AUTH_SUCCESSFUL=paramiko.auth_handler-module.html#AUTH_SUCCESSFUL,Variable paramiko.channel.AUTH_SUCCESSFUL=paramiko.channel-module.html#AUTH_SUCCESSFUL,Variable paramiko.client.AUTH_SUCCESSFUL=paramiko.client-module.html#AUTH_SUCCESSFUL,Variable paramiko.common.AUTH_SUCCESSFUL=paramiko.common-module.html#AUTH_SUCCESSFUL,Variable paramiko.dsskey.AUTH_SUCCESSFUL=paramiko.dsskey-module.html#AUTH_SUCCESSFUL,Variable paramiko.hostkeys.AUTH_SUCCESSFUL=paramiko.hostkeys-module.html#AUTH_SUCCESSFUL,Variable paramiko.kex_gex.AUTH_SUCCESSFUL=paramiko.kex_gex-module.html#AUTH_SUCCESSFUL,Variable paramiko.kex_group1.AUTH_SUCCESSFUL=paramiko.kex_group1-module.html#AUTH_SUCCESSFUL,Variable paramiko.packet.AUTH_SUCCESSFUL=paramiko.packet-module.html#AUTH_SUCCESSFUL,Variable paramiko.pkey.AUTH_SUCCESSFUL=paramiko.pkey-module.html#AUTH_SUCCESSFUL,Variable paramiko.rsakey.AUTH_SUCCESSFUL=paramiko.rsakey-module.html#AUTH_SUCCESSFUL,Variable paramiko.server.AUTH_SUCCESSFUL=paramiko.server-module.html#AUTH_SUCCESSFUL,Variable paramiko.sftp.AUTH_SUCCESSFUL=paramiko.sftp-module.html#AUTH_SUCCESSFUL,Variable paramiko.sftp_attr.AUTH_SUCCESSFUL=paramiko.sftp_attr-module.html#AUTH_SUCCESSFUL,Variable paramiko.sftp_client.AUTH_SUCCESSFUL=paramiko.sftp_client-module.html#AUTH_SUCCESSFUL,Variable paramiko.sftp_file.AUTH_SUCCESSFUL=paramiko.sftp_file-module.html#AUTH_SUCCESSFUL,Variable paramiko.sftp_handle.AUTH_SUCCESSFUL=paramiko.sftp_handle-module.html#AUTH_SUCCESSFUL,Variable paramiko.sftp_server.AUTH_SUCCESSFUL=paramiko.sftp_server-module.html#AUTH_SUCCESSFUL,Variable paramiko.sftp_si.AUTH_SUCCESSFUL=paramiko.sftp_si-module.html#AUTH_SUCCESSFUL,Variable paramiko.transport.AUTH_SUCCESSFUL=paramiko.transport-module.html#AUTH_SUCCESSFUL,Variable paramiko.util.AUTH_SUCCESSFUL=paramiko.util-module.html#AUTH_SUCCESSFUL"><a title="paramiko.auth_handler.AUTH_SUCCESSFUL +paramiko.channel.AUTH_SUCCESSFUL +paramiko.client.AUTH_SUCCESSFUL +paramiko.common.AUTH_SUCCESSFUL +paramiko.dsskey.AUTH_SUCCESSFUL +paramiko.hostkeys.AUTH_SUCCESSFUL +paramiko.kex_gex.AUTH_SUCCESSFUL +paramiko.kex_group1.AUTH_SUCCESSFUL +paramiko.packet.AUTH_SUCCESSFUL +paramiko.pkey.AUTH_SUCCESSFUL +paramiko.rsakey.AUTH_SUCCESSFUL +paramiko.server.AUTH_SUCCESSFUL +paramiko.sftp.AUTH_SUCCESSFUL +paramiko.sftp_attr.AUTH_SUCCESSFUL +paramiko.sftp_client.AUTH_SUCCESSFUL +paramiko.sftp_file.AUTH_SUCCESSFUL +paramiko.sftp_handle.AUTH_SUCCESSFUL +paramiko.sftp_server.AUTH_SUCCESSFUL +paramiko.sftp_si.AUTH_SUCCESSFUL +paramiko.transport.AUTH_SUCCESSFUL +paramiko.util.AUTH_SUCCESSFUL" class="py-name" href="#" onclick="return doclink('link-109', 'AUTH_SUCCESSFUL', 'link-109');">AUTH_SUCCESSFUL</a></tt><tt class="py-op">:</tt> </tt> +<a name="L226"></a><tt class="py-lineno">226</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-110" class="py-name"><a title="paramiko.transport" class="py-name" href="#" onclick="return doclink('link-110', 'transport', 'link-15');">transport</a></tt><tt class="py-op">.</tt><tt class="py-name">_log</tt><tt class="py-op">(</tt><tt id="link-111" class="py-name" targets="Variable paramiko.auth_handler.INFO=paramiko.auth_handler-module.html#INFO,Variable paramiko.channel.INFO=paramiko.channel-module.html#INFO,Variable paramiko.client.INFO=paramiko.client-module.html#INFO,Variable paramiko.common.INFO=paramiko.common-module.html#INFO,Variable paramiko.dsskey.INFO=paramiko.dsskey-module.html#INFO,Variable paramiko.hostkeys.INFO=paramiko.hostkeys-module.html#INFO,Variable paramiko.kex_gex.INFO=paramiko.kex_gex-module.html#INFO,Variable paramiko.kex_group1.INFO=paramiko.kex_group1-module.html#INFO,Variable paramiko.logging22.INFO=paramiko.logging22-module.html#INFO,Variable paramiko.packet.INFO=paramiko.packet-module.html#INFO,Variable paramiko.pkey.INFO=paramiko.pkey-module.html#INFO,Variable paramiko.rsakey.INFO=paramiko.rsakey-module.html#INFO,Variable paramiko.server.INFO=paramiko.server-module.html#INFO,Variable paramiko.sftp.INFO=paramiko.sftp-module.html#INFO,Variable paramiko.sftp_attr.INFO=paramiko.sftp_attr-module.html#INFO,Variable paramiko.sftp_client.INFO=paramiko.sftp_client-module.html#INFO,Variable paramiko.sftp_file.INFO=paramiko.sftp_file-module.html#INFO,Variable paramiko.sftp_handle.INFO=paramiko.sftp_handle-module.html#INFO,Variable paramiko.sftp_server.INFO=paramiko.sftp_server-module.html#INFO,Variable paramiko.sftp_si.INFO=paramiko.sftp_si-module.html#INFO,Variable paramiko.transport.INFO=paramiko.transport-module.html#INFO,Variable paramiko.util.INFO=paramiko.util-module.html#INFO"><a title="paramiko.auth_handler.INFO +paramiko.channel.INFO +paramiko.client.INFO +paramiko.common.INFO +paramiko.dsskey.INFO +paramiko.hostkeys.INFO +paramiko.kex_gex.INFO +paramiko.kex_group1.INFO +paramiko.logging22.INFO +paramiko.packet.INFO +paramiko.pkey.INFO +paramiko.rsakey.INFO +paramiko.server.INFO +paramiko.sftp.INFO +paramiko.sftp_attr.INFO +paramiko.sftp_client.INFO +paramiko.sftp_file.INFO +paramiko.sftp_handle.INFO +paramiko.sftp_server.INFO +paramiko.sftp_si.INFO +paramiko.transport.INFO +paramiko.util.INFO" class="py-name" href="#" onclick="return doclink('link-111', 'INFO', 'link-111');">INFO</a></tt><tt class="py-op">,</tt> <tt class="py-string">'Auth granted (%s).'</tt> <tt class="py-op">%</tt> <tt class="py-name">method</tt><tt class="py-op">)</tt> </tt> +<a name="L227"></a><tt class="py-lineno">227</tt> <tt class="py-line"> <tt class="py-name">m</tt><tt class="py-op">.</tt><tt id="link-112" class="py-name"><a title="paramiko.Message.add_byte" class="py-name" href="#" onclick="return doclink('link-112', 'add_byte', 'link-28');">add_byte</a></tt><tt class="py-op">(</tt><tt class="py-name">chr</tt><tt class="py-op">(</tt><tt id="link-113" class="py-name" targets="Variable paramiko.auth_handler.MSG_USERAUTH_SUCCESS=paramiko.auth_handler-module.html#MSG_USERAUTH_SUCCESS,Variable paramiko.channel.MSG_USERAUTH_SUCCESS=paramiko.channel-module.html#MSG_USERAUTH_SUCCESS,Variable paramiko.client.MSG_USERAUTH_SUCCESS=paramiko.client-module.html#MSG_USERAUTH_SUCCESS,Variable paramiko.common.MSG_USERAUTH_SUCCESS=paramiko.common-module.html#MSG_USERAUTH_SUCCESS,Variable paramiko.dsskey.MSG_USERAUTH_SUCCESS=paramiko.dsskey-module.html#MSG_USERAUTH_SUCCESS,Variable paramiko.hostkeys.MSG_USERAUTH_SUCCESS=paramiko.hostkeys-module.html#MSG_USERAUTH_SUCCESS,Variable paramiko.kex_gex.MSG_USERAUTH_SUCCESS=paramiko.kex_gex-module.html#MSG_USERAUTH_SUCCESS,Variable paramiko.kex_group1.MSG_USERAUTH_SUCCESS=paramiko.kex_group1-module.html#MSG_USERAUTH_SUCCESS,Variable paramiko.packet.MSG_USERAUTH_SUCCESS=paramiko.packet-module.html#MSG_USERAUTH_SUCCESS,Variable paramiko.pkey.MSG_USERAUTH_SUCCESS=paramiko.pkey-module.html#MSG_USERAUTH_SUCCESS,Variable paramiko.rsakey.MSG_USERAUTH_SUCCESS=paramiko.rsakey-module.html#MSG_USERAUTH_SUCCESS,Variable paramiko.server.MSG_USERAUTH_SUCCESS=paramiko.server-module.html#MSG_USERAUTH_SUCCESS,Variable paramiko.sftp.MSG_USERAUTH_SUCCESS=paramiko.sftp-module.html#MSG_USERAUTH_SUCCESS,Variable paramiko.sftp_attr.MSG_USERAUTH_SUCCESS=paramiko.sftp_attr-module.html#MSG_USERAUTH_SUCCESS,Variable paramiko.sftp_client.MSG_USERAUTH_SUCCESS=paramiko.sftp_client-module.html#MSG_USERAUTH_SUCCESS,Variable paramiko.sftp_file.MSG_USERAUTH_SUCCESS=paramiko.sftp_file-module.html#MSG_USERAUTH_SUCCESS,Variable paramiko.sftp_handle.MSG_USERAUTH_SUCCESS=paramiko.sftp_handle-module.html#MSG_USERAUTH_SUCCESS,Variable paramiko.sftp_server.MSG_USERAUTH_SUCCESS=paramiko.sftp_server-module.html#MSG_USERAUTH_SUCCESS,Variable paramiko.sftp_si.MSG_USERAUTH_SUCCESS=paramiko.sftp_si-module.html#MSG_USERAUTH_SUCCESS,Variable paramiko.transport.MSG_USERAUTH_SUCCESS=paramiko.transport-module.html#MSG_USERAUTH_SUCCESS,Variable paramiko.util.MSG_USERAUTH_SUCCESS=paramiko.util-module.html#MSG_USERAUTH_SUCCESS"><a title="paramiko.auth_handler.MSG_USERAUTH_SUCCESS +paramiko.channel.MSG_USERAUTH_SUCCESS +paramiko.client.MSG_USERAUTH_SUCCESS +paramiko.common.MSG_USERAUTH_SUCCESS +paramiko.dsskey.MSG_USERAUTH_SUCCESS +paramiko.hostkeys.MSG_USERAUTH_SUCCESS +paramiko.kex_gex.MSG_USERAUTH_SUCCESS +paramiko.kex_group1.MSG_USERAUTH_SUCCESS +paramiko.packet.MSG_USERAUTH_SUCCESS +paramiko.pkey.MSG_USERAUTH_SUCCESS +paramiko.rsakey.MSG_USERAUTH_SUCCESS +paramiko.server.MSG_USERAUTH_SUCCESS +paramiko.sftp.MSG_USERAUTH_SUCCESS +paramiko.sftp_attr.MSG_USERAUTH_SUCCESS +paramiko.sftp_client.MSG_USERAUTH_SUCCESS +paramiko.sftp_file.MSG_USERAUTH_SUCCESS +paramiko.sftp_handle.MSG_USERAUTH_SUCCESS +paramiko.sftp_server.MSG_USERAUTH_SUCCESS +paramiko.sftp_si.MSG_USERAUTH_SUCCESS +paramiko.transport.MSG_USERAUTH_SUCCESS +paramiko.util.MSG_USERAUTH_SUCCESS" class="py-name" href="#" onclick="return doclink('link-113', 'MSG_USERAUTH_SUCCESS', 'link-113');">MSG_USERAUTH_SUCCESS</a></tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt> +<a name="L228"></a><tt class="py-lineno">228</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">authenticated</tt> <tt class="py-op">=</tt> <tt class="py-name">True</tt> </tt> +<a name="L229"></a><tt class="py-lineno">229</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt> +<a name="L230"></a><tt class="py-lineno">230</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-114" class="py-name"><a title="paramiko.transport" class="py-name" href="#" onclick="return doclink('link-114', 'transport', 'link-15');">transport</a></tt><tt class="py-op">.</tt><tt class="py-name">_log</tt><tt class="py-op">(</tt><tt id="link-115" class="py-name"><a title="paramiko.auth_handler.INFO +paramiko.channel.INFO +paramiko.client.INFO +paramiko.common.INFO +paramiko.dsskey.INFO +paramiko.hostkeys.INFO +paramiko.kex_gex.INFO +paramiko.kex_group1.INFO +paramiko.logging22.INFO +paramiko.packet.INFO +paramiko.pkey.INFO +paramiko.rsakey.INFO +paramiko.server.INFO +paramiko.sftp.INFO +paramiko.sftp_attr.INFO +paramiko.sftp_client.INFO +paramiko.sftp_file.INFO +paramiko.sftp_handle.INFO +paramiko.sftp_server.INFO +paramiko.sftp_si.INFO +paramiko.transport.INFO +paramiko.util.INFO" class="py-name" href="#" onclick="return doclink('link-115', 'INFO', 'link-111');">INFO</a></tt><tt class="py-op">,</tt> <tt class="py-string">'Auth rejected (%s).'</tt> <tt class="py-op">%</tt> <tt class="py-name">method</tt><tt class="py-op">)</tt> </tt> +<a name="L231"></a><tt class="py-lineno">231</tt> <tt class="py-line"> <tt class="py-name">m</tt><tt class="py-op">.</tt><tt id="link-116" class="py-name"><a title="paramiko.Message.add_byte" class="py-name" href="#" onclick="return doclink('link-116', 'add_byte', 'link-28');">add_byte</a></tt><tt class="py-op">(</tt><tt class="py-name">chr</tt><tt class="py-op">(</tt><tt id="link-117" class="py-name" targets="Variable paramiko.auth_handler.MSG_USERAUTH_FAILURE=paramiko.auth_handler-module.html#MSG_USERAUTH_FAILURE,Variable paramiko.channel.MSG_USERAUTH_FAILURE=paramiko.channel-module.html#MSG_USERAUTH_FAILURE,Variable paramiko.client.MSG_USERAUTH_FAILURE=paramiko.client-module.html#MSG_USERAUTH_FAILURE,Variable paramiko.common.MSG_USERAUTH_FAILURE=paramiko.common-module.html#MSG_USERAUTH_FAILURE,Variable paramiko.dsskey.MSG_USERAUTH_FAILURE=paramiko.dsskey-module.html#MSG_USERAUTH_FAILURE,Variable paramiko.hostkeys.MSG_USERAUTH_FAILURE=paramiko.hostkeys-module.html#MSG_USERAUTH_FAILURE,Variable paramiko.kex_gex.MSG_USERAUTH_FAILURE=paramiko.kex_gex-module.html#MSG_USERAUTH_FAILURE,Variable paramiko.kex_group1.MSG_USERAUTH_FAILURE=paramiko.kex_group1-module.html#MSG_USERAUTH_FAILURE,Variable paramiko.packet.MSG_USERAUTH_FAILURE=paramiko.packet-module.html#MSG_USERAUTH_FAILURE,Variable paramiko.pkey.MSG_USERAUTH_FAILURE=paramiko.pkey-module.html#MSG_USERAUTH_FAILURE,Variable paramiko.rsakey.MSG_USERAUTH_FAILURE=paramiko.rsakey-module.html#MSG_USERAUTH_FAILURE,Variable paramiko.server.MSG_USERAUTH_FAILURE=paramiko.server-module.html#MSG_USERAUTH_FAILURE,Variable paramiko.sftp.MSG_USERAUTH_FAILURE=paramiko.sftp-module.html#MSG_USERAUTH_FAILURE,Variable paramiko.sftp_attr.MSG_USERAUTH_FAILURE=paramiko.sftp_attr-module.html#MSG_USERAUTH_FAILURE,Variable paramiko.sftp_client.MSG_USERAUTH_FAILURE=paramiko.sftp_client-module.html#MSG_USERAUTH_FAILURE,Variable paramiko.sftp_file.MSG_USERAUTH_FAILURE=paramiko.sftp_file-module.html#MSG_USERAUTH_FAILURE,Variable paramiko.sftp_handle.MSG_USERAUTH_FAILURE=paramiko.sftp_handle-module.html#MSG_USERAUTH_FAILURE,Variable paramiko.sftp_server.MSG_USERAUTH_FAILURE=paramiko.sftp_server-module.html#MSG_USERAUTH_FAILURE,Variable paramiko.sftp_si.MSG_USERAUTH_FAILURE=paramiko.sftp_si-module.html#MSG_USERAUTH_FAILURE,Variable paramiko.transport.MSG_USERAUTH_FAILURE=paramiko.transport-module.html#MSG_USERAUTH_FAILURE,Variable paramiko.util.MSG_USERAUTH_FAILURE=paramiko.util-module.html#MSG_USERAUTH_FAILURE"><a title="paramiko.auth_handler.MSG_USERAUTH_FAILURE +paramiko.channel.MSG_USERAUTH_FAILURE +paramiko.client.MSG_USERAUTH_FAILURE +paramiko.common.MSG_USERAUTH_FAILURE +paramiko.dsskey.MSG_USERAUTH_FAILURE +paramiko.hostkeys.MSG_USERAUTH_FAILURE +paramiko.kex_gex.MSG_USERAUTH_FAILURE +paramiko.kex_group1.MSG_USERAUTH_FAILURE +paramiko.packet.MSG_USERAUTH_FAILURE +paramiko.pkey.MSG_USERAUTH_FAILURE +paramiko.rsakey.MSG_USERAUTH_FAILURE +paramiko.server.MSG_USERAUTH_FAILURE +paramiko.sftp.MSG_USERAUTH_FAILURE +paramiko.sftp_attr.MSG_USERAUTH_FAILURE +paramiko.sftp_client.MSG_USERAUTH_FAILURE +paramiko.sftp_file.MSG_USERAUTH_FAILURE +paramiko.sftp_handle.MSG_USERAUTH_FAILURE +paramiko.sftp_server.MSG_USERAUTH_FAILURE +paramiko.sftp_si.MSG_USERAUTH_FAILURE +paramiko.transport.MSG_USERAUTH_FAILURE +paramiko.util.MSG_USERAUTH_FAILURE" class="py-name" href="#" onclick="return doclink('link-117', 'MSG_USERAUTH_FAILURE', 'link-117');">MSG_USERAUTH_FAILURE</a></tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt> +<a name="L232"></a><tt class="py-lineno">232</tt> <tt class="py-line"> <tt class="py-name">m</tt><tt class="py-op">.</tt><tt id="link-118" class="py-name"><a title="paramiko.Message.add_string" class="py-name" href="#" onclick="return doclink('link-118', 'add_string', 'link-30');">add_string</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-119" class="py-name"><a title="paramiko.transport" class="py-name" href="#" onclick="return doclink('link-119', 'transport', 'link-15');">transport</a></tt><tt class="py-op">.</tt><tt class="py-name">server_object</tt><tt class="py-op">.</tt><tt id="link-120" class="py-name" targets="Method paramiko.ServerInterface.get_allowed_auths()=paramiko.ServerInterface-class.html#get_allowed_auths"><a title="paramiko.ServerInterface.get_allowed_auths" class="py-name" href="#" onclick="return doclink('link-120', 'get_allowed_auths', 'link-120');">get_allowed_auths</a></tt><tt class="py-op">(</tt><tt class="py-name">username</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt> +<a name="L233"></a><tt class="py-lineno">233</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">result</tt> <tt class="py-op">==</tt> <tt id="link-121" class="py-name" targets="Variable paramiko.auth_handler.AUTH_PARTIALLY_SUCCESSFUL=paramiko.auth_handler-module.html#AUTH_PARTIALLY_SUCCESSFUL,Variable paramiko.channel.AUTH_PARTIALLY_SUCCESSFUL=paramiko.channel-module.html#AUTH_PARTIALLY_SUCCESSFUL,Variable paramiko.client.AUTH_PARTIALLY_SUCCESSFUL=paramiko.client-module.html#AUTH_PARTIALLY_SUCCESSFUL,Variable paramiko.common.AUTH_PARTIALLY_SUCCESSFUL=paramiko.common-module.html#AUTH_PARTIALLY_SUCCESSFUL,Variable paramiko.dsskey.AUTH_PARTIALLY_SUCCESSFUL=paramiko.dsskey-module.html#AUTH_PARTIALLY_SUCCESSFUL,Variable paramiko.hostkeys.AUTH_PARTIALLY_SUCCESSFUL=paramiko.hostkeys-module.html#AUTH_PARTIALLY_SUCCESSFUL,Variable paramiko.kex_gex.AUTH_PARTIALLY_SUCCESSFUL=paramiko.kex_gex-module.html#AUTH_PARTIALLY_SUCCESSFUL,Variable paramiko.kex_group1.AUTH_PARTIALLY_SUCCESSFUL=paramiko.kex_group1-module.html#AUTH_PARTIALLY_SUCCESSFUL,Variable paramiko.packet.AUTH_PARTIALLY_SUCCESSFUL=paramiko.packet-module.html#AUTH_PARTIALLY_SUCCESSFUL,Variable paramiko.pkey.AUTH_PARTIALLY_SUCCESSFUL=paramiko.pkey-module.html#AUTH_PARTIALLY_SUCCESSFUL,Variable paramiko.rsakey.AUTH_PARTIALLY_SUCCESSFUL=paramiko.rsakey-module.html#AUTH_PARTIALLY_SUCCESSFUL,Variable paramiko.server.AUTH_PARTIALLY_SUCCESSFUL=paramiko.server-module.html#AUTH_PARTIALLY_SUCCESSFUL,Variable paramiko.sftp.AUTH_PARTIALLY_SUCCESSFUL=paramiko.sftp-module.html#AUTH_PARTIALLY_SUCCESSFUL,Variable paramiko.sftp_attr.AUTH_PARTIALLY_SUCCESSFUL=paramiko.sftp_attr-module.html#AUTH_PARTIALLY_SUCCESSFUL,Variable paramiko.sftp_client.AUTH_PARTIALLY_SUCCESSFUL=paramiko.sftp_client-module.html#AUTH_PARTIALLY_SUCCESSFUL,Variable paramiko.sftp_file.AUTH_PARTIALLY_SUCCESSFUL=paramiko.sftp_file-module.html#AUTH_PARTIALLY_SUCCESSFUL,Variable paramiko.sftp_handle.AUTH_PARTIALLY_SUCCESSFUL=paramiko.sftp_handle-module.html#AUTH_PARTIALLY_SUCCESSFUL,Variable paramiko.sftp_server.AUTH_PARTIALLY_SUCCESSFUL=paramiko.sftp_server-module.html#AUTH_PARTIALLY_SUCCESSFUL,Variable paramiko.sftp_si.AUTH_PARTIALLY_SUCCESSFUL=paramiko.sftp_si-module.html#AUTH_PARTIALLY_SUCCESSFUL,Variable paramiko.transport.AUTH_PARTIALLY_SUCCESSFUL=paramiko.transport-module.html#AUTH_PARTIALLY_SUCCESSFUL,Variable paramiko.util.AUTH_PARTIALLY_SUCCESSFUL=paramiko.util-module.html#AUTH_PARTIALLY_SUCCESSFUL"><a title="paramiko.auth_handler.AUTH_PARTIALLY_SUCCESSFUL +paramiko.channel.AUTH_PARTIALLY_SUCCESSFUL +paramiko.client.AUTH_PARTIALLY_SUCCESSFUL +paramiko.common.AUTH_PARTIALLY_SUCCESSFUL +paramiko.dsskey.AUTH_PARTIALLY_SUCCESSFUL +paramiko.hostkeys.AUTH_PARTIALLY_SUCCESSFUL +paramiko.kex_gex.AUTH_PARTIALLY_SUCCESSFUL +paramiko.kex_group1.AUTH_PARTIALLY_SUCCESSFUL +paramiko.packet.AUTH_PARTIALLY_SUCCESSFUL +paramiko.pkey.AUTH_PARTIALLY_SUCCESSFUL +paramiko.rsakey.AUTH_PARTIALLY_SUCCESSFUL +paramiko.server.AUTH_PARTIALLY_SUCCESSFUL +paramiko.sftp.AUTH_PARTIALLY_SUCCESSFUL +paramiko.sftp_attr.AUTH_PARTIALLY_SUCCESSFUL +paramiko.sftp_client.AUTH_PARTIALLY_SUCCESSFUL +paramiko.sftp_file.AUTH_PARTIALLY_SUCCESSFUL +paramiko.sftp_handle.AUTH_PARTIALLY_SUCCESSFUL +paramiko.sftp_server.AUTH_PARTIALLY_SUCCESSFUL +paramiko.sftp_si.AUTH_PARTIALLY_SUCCESSFUL +paramiko.transport.AUTH_PARTIALLY_SUCCESSFUL +paramiko.util.AUTH_PARTIALLY_SUCCESSFUL" class="py-name" href="#" onclick="return doclink('link-121', 'AUTH_PARTIALLY_SUCCESSFUL', 'link-121');">AUTH_PARTIALLY_SUCCESSFUL</a></tt><tt class="py-op">:</tt> </tt> +<a name="L234"></a><tt class="py-lineno">234</tt> <tt class="py-line"> <tt class="py-name">m</tt><tt class="py-op">.</tt><tt id="link-122" class="py-name"><a title="paramiko.Message.add_boolean" class="py-name" href="#" onclick="return doclink('link-122', 'add_boolean', 'link-60');">add_boolean</a></tt><tt class="py-op">(</tt><tt class="py-number">1</tt><tt class="py-op">)</tt> </tt> +<a name="L235"></a><tt class="py-lineno">235</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt> +<a name="L236"></a><tt class="py-lineno">236</tt> <tt class="py-line"> <tt class="py-name">m</tt><tt class="py-op">.</tt><tt id="link-123" class="py-name"><a title="paramiko.Message.add_boolean" class="py-name" href="#" onclick="return doclink('link-123', 'add_boolean', 'link-60');">add_boolean</a></tt><tt class="py-op">(</tt><tt class="py-number">0</tt><tt class="py-op">)</tt> </tt> +<a name="L237"></a><tt class="py-lineno">237</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">auth_fail_count</tt> <tt class="py-op">+=</tt> <tt class="py-number">1</tt> </tt> +<a name="L238"></a><tt class="py-lineno">238</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-124" class="py-name"><a title="paramiko.transport" class="py-name" href="#" onclick="return doclink('link-124', 'transport', 'link-15');">transport</a></tt><tt class="py-op">.</tt><tt class="py-name">_send_message</tt><tt class="py-op">(</tt><tt class="py-name">m</tt><tt class="py-op">)</tt> </tt> +<a name="L239"></a><tt class="py-lineno">239</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">auth_fail_count</tt> <tt class="py-op">>=</tt> <tt class="py-number">10</tt><tt class="py-op">:</tt> </tt> +<a name="L240"></a><tt class="py-lineno">240</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_disconnect_no_more_auth</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> +<a name="L241"></a><tt class="py-lineno">241</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">result</tt> <tt class="py-op">==</tt> <tt id="link-125" class="py-name"><a title="paramiko.auth_handler.AUTH_SUCCESSFUL +paramiko.channel.AUTH_SUCCESSFUL +paramiko.client.AUTH_SUCCESSFUL +paramiko.common.AUTH_SUCCESSFUL +paramiko.dsskey.AUTH_SUCCESSFUL +paramiko.hostkeys.AUTH_SUCCESSFUL +paramiko.kex_gex.AUTH_SUCCESSFUL +paramiko.kex_group1.AUTH_SUCCESSFUL +paramiko.packet.AUTH_SUCCESSFUL +paramiko.pkey.AUTH_SUCCESSFUL +paramiko.rsakey.AUTH_SUCCESSFUL +paramiko.server.AUTH_SUCCESSFUL +paramiko.sftp.AUTH_SUCCESSFUL +paramiko.sftp_attr.AUTH_SUCCESSFUL +paramiko.sftp_client.AUTH_SUCCESSFUL +paramiko.sftp_file.AUTH_SUCCESSFUL +paramiko.sftp_handle.AUTH_SUCCESSFUL +paramiko.sftp_server.AUTH_SUCCESSFUL +paramiko.sftp_si.AUTH_SUCCESSFUL +paramiko.transport.AUTH_SUCCESSFUL +paramiko.util.AUTH_SUCCESSFUL" class="py-name" href="#" onclick="return doclink('link-125', 'AUTH_SUCCESSFUL', 'link-109');">AUTH_SUCCESSFUL</a></tt><tt class="py-op">:</tt> </tt> +<a name="L242"></a><tt class="py-lineno">242</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-126" class="py-name"><a title="paramiko.transport" class="py-name" href="#" onclick="return doclink('link-126', 'transport', 'link-15');">transport</a></tt><tt class="py-op">.</tt><tt class="py-name">_auth_trigger</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> +</div><a name="L243"></a><tt class="py-lineno">243</tt> <tt class="py-line"> </tt> +<a name="AuthHandler._interactive_query"></a><div id="AuthHandler._interactive_query-def"><a name="L244"></a><tt class="py-lineno">244</tt> <a class="py-toggle" href="#" id="AuthHandler._interactive_query-toggle" onclick="return toggle('AuthHandler._interactive_query');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="paramiko.auth_handler.AuthHandler-class.html#_interactive_query">_interactive_query</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">q</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> +</div><div id="AuthHandler._interactive_query-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="AuthHandler._interactive_query-expanded"><a name="L245"></a><tt class="py-lineno">245</tt> <tt class="py-line"> <tt class="py-comment"># make interactive query instead of response</tt> </tt> +<a name="L246"></a><tt class="py-lineno">246</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-name">m</tt> <tt class="py-op">=</tt> <tt id="link-127" class="py-name"><a title="paramiko.Message" class="py-name" href="#" onclick="return doclink('link-127', 'Message', 'link-6');">Message</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> +<a name="L247"></a><tt class="py-lineno">247</tt> <tt class="py-line"> <tt class="py-name">m</tt><tt class="py-op">.</tt><tt id="link-128" class="py-name"><a title="paramiko.Message.add_byte" class="py-name" href="#" onclick="return doclink('link-128', 'add_byte', 'link-28');">add_byte</a></tt><tt class="py-op">(</tt><tt class="py-name">chr</tt><tt class="py-op">(</tt><tt id="link-129" class="py-name" targets="Variable paramiko.auth_handler.MSG_USERAUTH_INFO_REQUEST=paramiko.auth_handler-module.html#MSG_USERAUTH_INFO_REQUEST,Variable paramiko.channel.MSG_USERAUTH_INFO_REQUEST=paramiko.channel-module.html#MSG_USERAUTH_INFO_REQUEST,Variable paramiko.client.MSG_USERAUTH_INFO_REQUEST=paramiko.client-module.html#MSG_USERAUTH_INFO_REQUEST,Variable paramiko.common.MSG_USERAUTH_INFO_REQUEST=paramiko.common-module.html#MSG_USERAUTH_INFO_REQUEST,Variable paramiko.dsskey.MSG_USERAUTH_INFO_REQUEST=paramiko.dsskey-module.html#MSG_USERAUTH_INFO_REQUEST,Variable paramiko.hostkeys.MSG_USERAUTH_INFO_REQUEST=paramiko.hostkeys-module.html#MSG_USERAUTH_INFO_REQUEST,Variable paramiko.kex_gex.MSG_USERAUTH_INFO_REQUEST=paramiko.kex_gex-module.html#MSG_USERAUTH_INFO_REQUEST,Variable paramiko.kex_group1.MSG_USERAUTH_INFO_REQUEST=paramiko.kex_group1-module.html#MSG_USERAUTH_INFO_REQUEST,Variable paramiko.packet.MSG_USERAUTH_INFO_REQUEST=paramiko.packet-module.html#MSG_USERAUTH_INFO_REQUEST,Variable paramiko.pkey.MSG_USERAUTH_INFO_REQUEST=paramiko.pkey-module.html#MSG_USERAUTH_INFO_REQUEST,Variable paramiko.rsakey.MSG_USERAUTH_INFO_REQUEST=paramiko.rsakey-module.html#MSG_USERAUTH_INFO_REQUEST,Variable paramiko.server.MSG_USERAUTH_INFO_REQUEST=paramiko.server-module.html#MSG_USERAUTH_INFO_REQUEST,Variable paramiko.sftp.MSG_USERAUTH_INFO_REQUEST=paramiko.sftp-module.html#MSG_USERAUTH_INFO_REQUEST,Variable paramiko.sftp_attr.MSG_USERAUTH_INFO_REQUEST=paramiko.sftp_attr-module.html#MSG_USERAUTH_INFO_REQUEST,Variable paramiko.sftp_client.MSG_USERAUTH_INFO_REQUEST=paramiko.sftp_client-module.html#MSG_USERAUTH_INFO_REQUEST,Variable paramiko.sftp_file.MSG_USERAUTH_INFO_REQUEST=paramiko.sftp_file-module.html#MSG_USERAUTH_INFO_REQUEST,Variable paramiko.sftp_handle.MSG_USERAUTH_INFO_REQUEST=paramiko.sftp_handle-module.html#MSG_USERAUTH_INFO_REQUEST,Variable paramiko.sftp_server.MSG_USERAUTH_INFO_REQUEST=paramiko.sftp_server-module.html#MSG_USERAUTH_INFO_REQUEST,Variable paramiko.sftp_si.MSG_USERAUTH_INFO_REQUEST=paramiko.sftp_si-module.html#MSG_USERAUTH_INFO_REQUEST,Variable paramiko.transport.MSG_USERAUTH_INFO_REQUEST=paramiko.transport-module.html#MSG_USERAUTH_INFO_REQUEST,Variable paramiko.util.MSG_USERAUTH_INFO_REQUEST=paramiko.util-module.html#MSG_USERAUTH_INFO_REQUEST"><a title="paramiko.auth_handler.MSG_USERAUTH_INFO_REQUEST +paramiko.channel.MSG_USERAUTH_INFO_REQUEST +paramiko.client.MSG_USERAUTH_INFO_REQUEST +paramiko.common.MSG_USERAUTH_INFO_REQUEST +paramiko.dsskey.MSG_USERAUTH_INFO_REQUEST +paramiko.hostkeys.MSG_USERAUTH_INFO_REQUEST +paramiko.kex_gex.MSG_USERAUTH_INFO_REQUEST +paramiko.kex_group1.MSG_USERAUTH_INFO_REQUEST +paramiko.packet.MSG_USERAUTH_INFO_REQUEST +paramiko.pkey.MSG_USERAUTH_INFO_REQUEST +paramiko.rsakey.MSG_USERAUTH_INFO_REQUEST +paramiko.server.MSG_USERAUTH_INFO_REQUEST +paramiko.sftp.MSG_USERAUTH_INFO_REQUEST +paramiko.sftp_attr.MSG_USERAUTH_INFO_REQUEST +paramiko.sftp_client.MSG_USERAUTH_INFO_REQUEST +paramiko.sftp_file.MSG_USERAUTH_INFO_REQUEST +paramiko.sftp_handle.MSG_USERAUTH_INFO_REQUEST +paramiko.sftp_server.MSG_USERAUTH_INFO_REQUEST +paramiko.sftp_si.MSG_USERAUTH_INFO_REQUEST +paramiko.transport.MSG_USERAUTH_INFO_REQUEST +paramiko.util.MSG_USERAUTH_INFO_REQUEST" class="py-name" href="#" onclick="return doclink('link-129', 'MSG_USERAUTH_INFO_REQUEST', 'link-129');">MSG_USERAUTH_INFO_REQUEST</a></tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt> +<a name="L248"></a><tt class="py-lineno">248</tt> <tt class="py-line"> <tt class="py-name">m</tt><tt class="py-op">.</tt><tt id="link-130" class="py-name"><a title="paramiko.Message.add_string" class="py-name" href="#" onclick="return doclink('link-130', 'add_string', 'link-30');">add_string</a></tt><tt class="py-op">(</tt><tt class="py-name">q</tt><tt class="py-op">.</tt><tt id="link-131" class="py-name" targets="Variable paramiko.kex_gex.KexGex.name=paramiko.kex_gex.KexGex-class.html#name,Variable paramiko.kex_group1.KexGroup1.name=paramiko.kex_group1.KexGroup1-class.html#name"><a title="paramiko.kex_gex.KexGex.name +paramiko.kex_group1.KexGroup1.name" class="py-name" href="#" onclick="return doclink('link-131', 'name', 'link-131');">name</a></tt><tt class="py-op">)</tt> </tt> +<a name="L249"></a><tt class="py-lineno">249</tt> <tt class="py-line"> <tt class="py-name">m</tt><tt class="py-op">.</tt><tt id="link-132" class="py-name"><a title="paramiko.Message.add_string" class="py-name" href="#" onclick="return doclink('link-132', 'add_string', 'link-30');">add_string</a></tt><tt class="py-op">(</tt><tt class="py-name">q</tt><tt class="py-op">.</tt><tt class="py-name">instructions</tt><tt class="py-op">)</tt> </tt> +<a name="L250"></a><tt class="py-lineno">250</tt> <tt class="py-line"> <tt class="py-name">m</tt><tt class="py-op">.</tt><tt id="link-133" class="py-name"><a title="paramiko.Message.add_string" class="py-name" href="#" onclick="return doclink('link-133', 'add_string', 'link-30');">add_string</a></tt><tt class="py-op">(</tt><tt class="py-string">''</tt><tt class="py-op">)</tt> </tt> +<a name="L251"></a><tt class="py-lineno">251</tt> <tt class="py-line"> <tt class="py-name">m</tt><tt class="py-op">.</tt><tt id="link-134" class="py-name"><a title="paramiko.Message.add_int" class="py-name" href="#" onclick="return doclink('link-134', 'add_int', 'link-35');">add_int</a></tt><tt class="py-op">(</tt><tt class="py-name">len</tt><tt class="py-op">(</tt><tt class="py-name">q</tt><tt class="py-op">.</tt><tt class="py-name">prompts</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt> +<a name="L252"></a><tt class="py-lineno">252</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">p</tt> <tt class="py-keyword">in</tt> <tt class="py-name">q</tt><tt class="py-op">.</tt><tt class="py-name">prompts</tt><tt class="py-op">:</tt> </tt> +<a name="L253"></a><tt class="py-lineno">253</tt> <tt class="py-line"> <tt class="py-name">m</tt><tt class="py-op">.</tt><tt id="link-135" class="py-name"><a title="paramiko.Message.add_string" class="py-name" href="#" onclick="return doclink('link-135', 'add_string', 'link-30');">add_string</a></tt><tt class="py-op">(</tt><tt class="py-name">p</tt><tt class="py-op">[</tt><tt class="py-number">0</tt><tt class="py-op">]</tt><tt class="py-op">)</tt> </tt> +<a name="L254"></a><tt class="py-lineno">254</tt> <tt class="py-line"> <tt class="py-name">m</tt><tt class="py-op">.</tt><tt id="link-136" class="py-name"><a title="paramiko.Message.add_boolean" class="py-name" href="#" onclick="return doclink('link-136', 'add_boolean', 'link-60');">add_boolean</a></tt><tt class="py-op">(</tt><tt class="py-name">p</tt><tt class="py-op">[</tt><tt class="py-number">1</tt><tt class="py-op">]</tt><tt class="py-op">)</tt> </tt> +<a name="L255"></a><tt class="py-lineno">255</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-137" class="py-name"><a title="paramiko.transport" class="py-name" href="#" onclick="return doclink('link-137', 'transport', 'link-15');">transport</a></tt><tt class="py-op">.</tt><tt class="py-name">_send_message</tt><tt class="py-op">(</tt><tt class="py-name">m</tt><tt class="py-op">)</tt> </tt> +</div><a name="L256"></a><tt class="py-lineno">256</tt> <tt class="py-line"> </tt> +<a name="AuthHandler._parse_userauth_request"></a><div id="AuthHandler._parse_userauth_request-def"><a name="L257"></a><tt class="py-lineno">257</tt> <a class="py-toggle" href="#" id="AuthHandler._parse_userauth_request-toggle" onclick="return toggle('AuthHandler._parse_userauth_request');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="paramiko.auth_handler.AuthHandler-class.html#_parse_userauth_request">_parse_userauth_request</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">m</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> +</div><div id="AuthHandler._parse_userauth_request-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="AuthHandler._parse_userauth_request-expanded"><a name="L258"></a><tt class="py-lineno">258</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-138" class="py-name"><a title="paramiko.transport" class="py-name" href="#" onclick="return doclink('link-138', 'transport', 'link-15');">transport</a></tt><tt class="py-op">.</tt><tt class="py-name">server_mode</tt><tt class="py-op">:</tt> </tt> +<a name="L259"></a><tt class="py-lineno">259</tt> <tt class="py-line"> <tt class="py-comment"># er, uh... what?</tt> </tt> +<a name="L260"></a><tt class="py-lineno">260</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-name">m</tt> <tt class="py-op">=</tt> <tt id="link-139" class="py-name"><a title="paramiko.Message" class="py-name" href="#" onclick="return doclink('link-139', 'Message', 'link-6');">Message</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> +<a name="L261"></a><tt class="py-lineno">261</tt> <tt class="py-line"> <tt class="py-name">m</tt><tt class="py-op">.</tt><tt id="link-140" class="py-name"><a title="paramiko.Message.add_byte" class="py-name" href="#" onclick="return doclink('link-140', 'add_byte', 'link-28');">add_byte</a></tt><tt class="py-op">(</tt><tt class="py-name">chr</tt><tt class="py-op">(</tt><tt id="link-141" class="py-name"><a title="paramiko.auth_handler.MSG_USERAUTH_FAILURE +paramiko.channel.MSG_USERAUTH_FAILURE +paramiko.client.MSG_USERAUTH_FAILURE +paramiko.common.MSG_USERAUTH_FAILURE +paramiko.dsskey.MSG_USERAUTH_FAILURE +paramiko.hostkeys.MSG_USERAUTH_FAILURE +paramiko.kex_gex.MSG_USERAUTH_FAILURE +paramiko.kex_group1.MSG_USERAUTH_FAILURE +paramiko.packet.MSG_USERAUTH_FAILURE +paramiko.pkey.MSG_USERAUTH_FAILURE +paramiko.rsakey.MSG_USERAUTH_FAILURE +paramiko.server.MSG_USERAUTH_FAILURE +paramiko.sftp.MSG_USERAUTH_FAILURE +paramiko.sftp_attr.MSG_USERAUTH_FAILURE +paramiko.sftp_client.MSG_USERAUTH_FAILURE +paramiko.sftp_file.MSG_USERAUTH_FAILURE +paramiko.sftp_handle.MSG_USERAUTH_FAILURE +paramiko.sftp_server.MSG_USERAUTH_FAILURE +paramiko.sftp_si.MSG_USERAUTH_FAILURE +paramiko.transport.MSG_USERAUTH_FAILURE +paramiko.util.MSG_USERAUTH_FAILURE" class="py-name" href="#" onclick="return doclink('link-141', 'MSG_USERAUTH_FAILURE', 'link-117');">MSG_USERAUTH_FAILURE</a></tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt> +<a name="L262"></a><tt class="py-lineno">262</tt> <tt class="py-line"> <tt class="py-name">m</tt><tt class="py-op">.</tt><tt id="link-142" class="py-name"><a title="paramiko.Message.add_string" class="py-name" href="#" onclick="return doclink('link-142', 'add_string', 'link-30');">add_string</a></tt><tt class="py-op">(</tt><tt class="py-string">'none'</tt><tt class="py-op">)</tt> </tt> +<a name="L263"></a><tt class="py-lineno">263</tt> <tt class="py-line"> <tt class="py-name">m</tt><tt class="py-op">.</tt><tt id="link-143" class="py-name"><a title="paramiko.Message.add_boolean" class="py-name" href="#" onclick="return doclink('link-143', 'add_boolean', 'link-60');">add_boolean</a></tt><tt class="py-op">(</tt><tt class="py-number">0</tt><tt class="py-op">)</tt> </tt> +<a name="L264"></a><tt class="py-lineno">264</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-144" class="py-name"><a title="paramiko.transport" class="py-name" href="#" onclick="return doclink('link-144', 'transport', 'link-15');">transport</a></tt><tt class="py-op">.</tt><tt class="py-name">_send_message</tt><tt class="py-op">(</tt><tt class="py-name">m</tt><tt class="py-op">)</tt> </tt> +<a name="L265"></a><tt class="py-lineno">265</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> </tt> +<a name="L266"></a><tt class="py-lineno">266</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">authenticated</tt><tt class="py-op">:</tt> </tt> +<a name="L267"></a><tt class="py-lineno">267</tt> <tt class="py-line"> <tt class="py-comment"># ignore</tt> </tt> +<a name="L268"></a><tt class="py-lineno">268</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-keyword">return</tt> </tt> +<a name="L269"></a><tt class="py-lineno">269</tt> <tt class="py-line"> <tt class="py-name">username</tt> <tt class="py-op">=</tt> <tt class="py-name">m</tt><tt class="py-op">.</tt><tt id="link-145" class="py-name"><a title="paramiko.Message.get_string" class="py-name" href="#" onclick="return doclink('link-145', 'get_string', 'link-75');">get_string</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> +<a name="L270"></a><tt class="py-lineno">270</tt> <tt class="py-line"> <tt class="py-name">service</tt> <tt class="py-op">=</tt> <tt class="py-name">m</tt><tt class="py-op">.</tt><tt id="link-146" class="py-name"><a title="paramiko.Message.get_string" class="py-name" href="#" onclick="return doclink('link-146', 'get_string', 'link-75');">get_string</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> +<a name="L271"></a><tt class="py-lineno">271</tt> <tt class="py-line"> <tt class="py-name">method</tt> <tt class="py-op">=</tt> <tt class="py-name">m</tt><tt class="py-op">.</tt><tt id="link-147" class="py-name"><a title="paramiko.Message.get_string" class="py-name" href="#" onclick="return doclink('link-147', 'get_string', 'link-75');">get_string</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> +<a name="L272"></a><tt class="py-lineno">272</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-148" class="py-name"><a title="paramiko.transport" class="py-name" href="#" onclick="return doclink('link-148', 'transport', 'link-15');">transport</a></tt><tt class="py-op">.</tt><tt class="py-name">_log</tt><tt class="py-op">(</tt><tt id="link-149" class="py-name"><a title="paramiko.auth_handler.DEBUG +paramiko.channel.DEBUG +paramiko.client.DEBUG +paramiko.common.DEBUG +paramiko.dsskey.DEBUG +paramiko.hostkeys.DEBUG +paramiko.kex_gex.DEBUG +paramiko.kex_group1.DEBUG +paramiko.logging22.DEBUG +paramiko.packet.DEBUG +paramiko.pkey.DEBUG +paramiko.rsakey.DEBUG +paramiko.server.DEBUG +paramiko.sftp.DEBUG +paramiko.sftp_attr.DEBUG +paramiko.sftp_client.DEBUG +paramiko.sftp_file.DEBUG +paramiko.sftp_handle.DEBUG +paramiko.sftp_server.DEBUG +paramiko.sftp_si.DEBUG +paramiko.transport.DEBUG +paramiko.util.DEBUG" class="py-name" href="#" onclick="return doclink('link-149', 'DEBUG', 'link-84');">DEBUG</a></tt><tt class="py-op">,</tt> <tt class="py-string">'Auth request (type=%s) service=%s, username=%s'</tt> <tt class="py-op">%</tt> <tt class="py-op">(</tt><tt class="py-name">method</tt><tt class="py-op">,</tt> <tt class="py-name">service</tt><tt class="py-op">,</tt> <tt class="py-name">username</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt> +<a name="L273"></a><tt class="py-lineno">273</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">service</tt> <tt class="py-op">!=</tt> <tt class="py-string">'ssh-connection'</tt><tt class="py-op">:</tt> </tt> +<a name="L274"></a><tt class="py-lineno">274</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_disconnect_service_not_available</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> +<a name="L275"></a><tt class="py-lineno">275</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> </tt> +<a name="L276"></a><tt class="py-lineno">276</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">auth_username</tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">)</tt> <tt class="py-keyword">and</tt> <tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">auth_username</tt> <tt class="py-op">!=</tt> <tt class="py-name">username</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> +<a name="L277"></a><tt class="py-lineno">277</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-150" class="py-name"><a title="paramiko.transport" class="py-name" href="#" onclick="return doclink('link-150', 'transport', 'link-15');">transport</a></tt><tt class="py-op">.</tt><tt class="py-name">_log</tt><tt class="py-op">(</tt><tt id="link-151" class="py-name" targets="Variable paramiko.auth_handler.WARNING=paramiko.auth_handler-module.html#WARNING,Variable paramiko.channel.WARNING=paramiko.channel-module.html#WARNING,Variable paramiko.client.WARNING=paramiko.client-module.html#WARNING,Variable paramiko.common.WARNING=paramiko.common-module.html#WARNING,Variable paramiko.dsskey.WARNING=paramiko.dsskey-module.html#WARNING,Variable paramiko.hostkeys.WARNING=paramiko.hostkeys-module.html#WARNING,Variable paramiko.kex_gex.WARNING=paramiko.kex_gex-module.html#WARNING,Variable paramiko.kex_group1.WARNING=paramiko.kex_group1-module.html#WARNING,Variable paramiko.logging22.WARNING=paramiko.logging22-module.html#WARNING,Variable paramiko.packet.WARNING=paramiko.packet-module.html#WARNING,Variable paramiko.pkey.WARNING=paramiko.pkey-module.html#WARNING,Variable paramiko.rsakey.WARNING=paramiko.rsakey-module.html#WARNING,Variable paramiko.server.WARNING=paramiko.server-module.html#WARNING,Variable paramiko.sftp.WARNING=paramiko.sftp-module.html#WARNING,Variable paramiko.sftp_attr.WARNING=paramiko.sftp_attr-module.html#WARNING,Variable paramiko.sftp_client.WARNING=paramiko.sftp_client-module.html#WARNING,Variable paramiko.sftp_file.WARNING=paramiko.sftp_file-module.html#WARNING,Variable paramiko.sftp_handle.WARNING=paramiko.sftp_handle-module.html#WARNING,Variable paramiko.sftp_server.WARNING=paramiko.sftp_server-module.html#WARNING,Variable paramiko.sftp_si.WARNING=paramiko.sftp_si-module.html#WARNING,Variable paramiko.transport.WARNING=paramiko.transport-module.html#WARNING,Variable paramiko.util.WARNING=paramiko.util-module.html#WARNING"><a title="paramiko.auth_handler.WARNING +paramiko.channel.WARNING +paramiko.client.WARNING +paramiko.common.WARNING +paramiko.dsskey.WARNING +paramiko.hostkeys.WARNING +paramiko.kex_gex.WARNING +paramiko.kex_group1.WARNING +paramiko.logging22.WARNING +paramiko.packet.WARNING +paramiko.pkey.WARNING +paramiko.rsakey.WARNING +paramiko.server.WARNING +paramiko.sftp.WARNING +paramiko.sftp_attr.WARNING +paramiko.sftp_client.WARNING +paramiko.sftp_file.WARNING +paramiko.sftp_handle.WARNING +paramiko.sftp_server.WARNING +paramiko.sftp_si.WARNING +paramiko.transport.WARNING +paramiko.util.WARNING" class="py-name" href="#" onclick="return doclink('link-151', 'WARNING', 'link-151');">WARNING</a></tt><tt class="py-op">,</tt> <tt class="py-string">'Auth rejected because the client attempted to change username in mid-flight'</tt><tt class="py-op">)</tt> </tt> +<a name="L278"></a><tt class="py-lineno">278</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_disconnect_no_more_auth</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> +<a name="L279"></a><tt class="py-lineno">279</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> </tt> +<a name="L280"></a><tt class="py-lineno">280</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">auth_username</tt> <tt class="py-op">=</tt> <tt class="py-name">username</tt> </tt> +<a name="L281"></a><tt class="py-lineno">281</tt> <tt class="py-line"> </tt> +<a name="L282"></a><tt class="py-lineno">282</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">method</tt> <tt class="py-op">==</tt> <tt class="py-string">'none'</tt><tt class="py-op">:</tt> </tt> +<a name="L283"></a><tt class="py-lineno">283</tt> <tt class="py-line"> <tt class="py-name">result</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-152" class="py-name"><a title="paramiko.transport" class="py-name" href="#" onclick="return doclink('link-152', 'transport', 'link-15');">transport</a></tt><tt class="py-op">.</tt><tt class="py-name">server_object</tt><tt class="py-op">.</tt><tt id="link-153" class="py-name" targets="Method paramiko.ServerInterface.check_auth_none()=paramiko.ServerInterface-class.html#check_auth_none"><a title="paramiko.ServerInterface.check_auth_none" class="py-name" href="#" onclick="return doclink('link-153', 'check_auth_none', 'link-153');">check_auth_none</a></tt><tt class="py-op">(</tt><tt class="py-name">username</tt><tt class="py-op">)</tt> </tt> +<a name="L284"></a><tt class="py-lineno">284</tt> <tt class="py-line"> <tt class="py-keyword">elif</tt> <tt class="py-name">method</tt> <tt class="py-op">==</tt> <tt class="py-string">'password'</tt><tt class="py-op">:</tt> </tt> +<a name="L285"></a><tt class="py-lineno">285</tt> <tt class="py-line"> <tt class="py-name">changereq</tt> <tt class="py-op">=</tt> <tt class="py-name">m</tt><tt class="py-op">.</tt><tt id="link-154" class="py-name" targets="Method paramiko.Message.get_boolean()=paramiko.Message-class.html#get_boolean"><a title="paramiko.Message.get_boolean" class="py-name" href="#" onclick="return doclink('link-154', 'get_boolean', 'link-154');">get_boolean</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> +<a name="L286"></a><tt class="py-lineno">286</tt> <tt class="py-line"> <tt class="py-name">password</tt> <tt class="py-op">=</tt> <tt class="py-name">m</tt><tt class="py-op">.</tt><tt id="link-155" class="py-name"><a title="paramiko.Message.get_string" class="py-name" href="#" onclick="return doclink('link-155', 'get_string', 'link-75');">get_string</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> +<a name="L287"></a><tt class="py-lineno">287</tt> <tt class="py-line"> <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt> +<a name="L288"></a><tt class="py-lineno">288</tt> <tt class="py-line"> <tt class="py-name">password</tt> <tt class="py-op">=</tt> <tt class="py-name">password</tt><tt class="py-op">.</tt><tt id="link-156" class="py-name" targets="Method paramiko.ber.BER.decode()=paramiko.ber.BER-class.html#decode"><a title="paramiko.ber.BER.decode" class="py-name" href="#" onclick="return doclink('link-156', 'decode', 'link-156');">decode</a></tt><tt class="py-op">(</tt><tt class="py-string">'UTF-8'</tt><tt class="py-op">)</tt> </tt> +<a name="L289"></a><tt class="py-lineno">289</tt> <tt class="py-line"> <tt class="py-keyword">except</tt> <tt class="py-name">UnicodeError</tt><tt class="py-op">:</tt> </tt> +<a name="L290"></a><tt class="py-lineno">290</tt> <tt class="py-line"> <tt class="py-comment"># some clients/servers expect non-utf-8 passwords!</tt> </tt> +<a name="L291"></a><tt class="py-lineno">291</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-comment"># in this case, just return the raw byte string.</tt> </tt> +<a name="L292"></a><tt class="py-lineno">292</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-keyword">pass</tt> </tt> +<a name="L293"></a><tt class="py-lineno">293</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">changereq</tt><tt class="py-op">:</tt> </tt> +<a name="L294"></a><tt class="py-lineno">294</tt> <tt class="py-line"> <tt class="py-comment"># always treated as failure, since we don't support changing passwords, but collect</tt> </tt> +<a name="L295"></a><tt class="py-lineno">295</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-comment"># the list of valid auth types from the callback anyway</tt> </tt> +<a name="L296"></a><tt class="py-lineno">296</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-157" class="py-name"><a title="paramiko.transport" class="py-name" href="#" onclick="return doclink('link-157', 'transport', 'link-15');">transport</a></tt><tt class="py-op">.</tt><tt class="py-name">_log</tt><tt class="py-op">(</tt><tt id="link-158" class="py-name"><a title="paramiko.auth_handler.DEBUG +paramiko.channel.DEBUG +paramiko.client.DEBUG +paramiko.common.DEBUG +paramiko.dsskey.DEBUG +paramiko.hostkeys.DEBUG +paramiko.kex_gex.DEBUG +paramiko.kex_group1.DEBUG +paramiko.logging22.DEBUG +paramiko.packet.DEBUG +paramiko.pkey.DEBUG +paramiko.rsakey.DEBUG +paramiko.server.DEBUG +paramiko.sftp.DEBUG +paramiko.sftp_attr.DEBUG +paramiko.sftp_client.DEBUG +paramiko.sftp_file.DEBUG +paramiko.sftp_handle.DEBUG +paramiko.sftp_server.DEBUG +paramiko.sftp_si.DEBUG +paramiko.transport.DEBUG +paramiko.util.DEBUG" class="py-name" href="#" onclick="return doclink('link-158', 'DEBUG', 'link-84');">DEBUG</a></tt><tt class="py-op">,</tt> <tt class="py-string">'Auth request to change passwords (rejected)'</tt><tt class="py-op">)</tt> </tt> +<a name="L297"></a><tt class="py-lineno">297</tt> <tt class="py-line"> <tt class="py-name">newpassword</tt> <tt class="py-op">=</tt> <tt class="py-name">m</tt><tt class="py-op">.</tt><tt id="link-159" class="py-name"><a title="paramiko.Message.get_string" class="py-name" href="#" onclick="return doclink('link-159', 'get_string', 'link-75');">get_string</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> +<a name="L298"></a><tt class="py-lineno">298</tt> <tt class="py-line"> <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt> +<a name="L299"></a><tt class="py-lineno">299</tt> <tt class="py-line"> <tt class="py-name">newpassword</tt> <tt class="py-op">=</tt> <tt class="py-name">newpassword</tt><tt class="py-op">.</tt><tt id="link-160" class="py-name"><a title="paramiko.ber.BER.decode" class="py-name" href="#" onclick="return doclink('link-160', 'decode', 'link-156');">decode</a></tt><tt class="py-op">(</tt><tt class="py-string">'UTF-8'</tt><tt class="py-op">,</tt> <tt class="py-string">'replace'</tt><tt class="py-op">)</tt> </tt> +<a name="L300"></a><tt class="py-lineno">300</tt> <tt class="py-line"> <tt class="py-keyword">except</tt> <tt class="py-name">UnicodeError</tt><tt class="py-op">:</tt> </tt> +<a name="L301"></a><tt class="py-lineno">301</tt> <tt class="py-line"> <tt class="py-keyword">pass</tt> </tt> +<a name="L302"></a><tt class="py-lineno">302</tt> <tt class="py-line"> <tt class="py-name">result</tt> <tt class="py-op">=</tt> <tt id="link-161" class="py-name" targets="Variable paramiko.auth_handler.AUTH_FAILED=paramiko.auth_handler-module.html#AUTH_FAILED,Variable paramiko.channel.AUTH_FAILED=paramiko.channel-module.html#AUTH_FAILED,Variable paramiko.client.AUTH_FAILED=paramiko.client-module.html#AUTH_FAILED,Variable paramiko.common.AUTH_FAILED=paramiko.common-module.html#AUTH_FAILED,Variable paramiko.dsskey.AUTH_FAILED=paramiko.dsskey-module.html#AUTH_FAILED,Variable paramiko.hostkeys.AUTH_FAILED=paramiko.hostkeys-module.html#AUTH_FAILED,Variable paramiko.kex_gex.AUTH_FAILED=paramiko.kex_gex-module.html#AUTH_FAILED,Variable paramiko.kex_group1.AUTH_FAILED=paramiko.kex_group1-module.html#AUTH_FAILED,Variable paramiko.packet.AUTH_FAILED=paramiko.packet-module.html#AUTH_FAILED,Variable paramiko.pkey.AUTH_FAILED=paramiko.pkey-module.html#AUTH_FAILED,Variable paramiko.rsakey.AUTH_FAILED=paramiko.rsakey-module.html#AUTH_FAILED,Variable paramiko.server.AUTH_FAILED=paramiko.server-module.html#AUTH_FAILED,Variable paramiko.sftp.AUTH_FAILED=paramiko.sftp-module.html#AUTH_FAILED,Variable paramiko.sftp_attr.AUTH_FAILED=paramiko.sftp_attr-module.html#AUTH_FAILED,Variable paramiko.sftp_client.AUTH_FAILED=paramiko.sftp_client-module.html#AUTH_FAILED,Variable paramiko.sftp_file.AUTH_FAILED=paramiko.sftp_file-module.html#AUTH_FAILED,Variable paramiko.sftp_handle.AUTH_FAILED=paramiko.sftp_handle-module.html#AUTH_FAILED,Variable paramiko.sftp_server.AUTH_FAILED=paramiko.sftp_server-module.html#AUTH_FAILED,Variable paramiko.sftp_si.AUTH_FAILED=paramiko.sftp_si-module.html#AUTH_FAILED,Variable paramiko.transport.AUTH_FAILED=paramiko.transport-module.html#AUTH_FAILED,Variable paramiko.util.AUTH_FAILED=paramiko.util-module.html#AUTH_FAILED"><a title="paramiko.auth_handler.AUTH_FAILED +paramiko.channel.AUTH_FAILED +paramiko.client.AUTH_FAILED +paramiko.common.AUTH_FAILED +paramiko.dsskey.AUTH_FAILED +paramiko.hostkeys.AUTH_FAILED +paramiko.kex_gex.AUTH_FAILED +paramiko.kex_group1.AUTH_FAILED +paramiko.packet.AUTH_FAILED +paramiko.pkey.AUTH_FAILED +paramiko.rsakey.AUTH_FAILED +paramiko.server.AUTH_FAILED +paramiko.sftp.AUTH_FAILED +paramiko.sftp_attr.AUTH_FAILED +paramiko.sftp_client.AUTH_FAILED +paramiko.sftp_file.AUTH_FAILED +paramiko.sftp_handle.AUTH_FAILED +paramiko.sftp_server.AUTH_FAILED +paramiko.sftp_si.AUTH_FAILED +paramiko.transport.AUTH_FAILED +paramiko.util.AUTH_FAILED" class="py-name" href="#" onclick="return doclink('link-161', 'AUTH_FAILED', 'link-161');">AUTH_FAILED</a></tt> </tt> +<a name="L303"></a><tt class="py-lineno">303</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt> +<a name="L304"></a><tt class="py-lineno">304</tt> <tt class="py-line"> <tt class="py-name">result</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-162" class="py-name"><a title="paramiko.transport" class="py-name" href="#" onclick="return doclink('link-162', 'transport', 'link-15');">transport</a></tt><tt class="py-op">.</tt><tt class="py-name">server_object</tt><tt class="py-op">.</tt><tt id="link-163" class="py-name" targets="Method paramiko.ServerInterface.check_auth_password()=paramiko.ServerInterface-class.html#check_auth_password"><a title="paramiko.ServerInterface.check_auth_password" class="py-name" href="#" onclick="return doclink('link-163', 'check_auth_password', 'link-163');">check_auth_password</a></tt><tt class="py-op">(</tt><tt class="py-name">username</tt><tt class="py-op">,</tt> <tt class="py-name">password</tt><tt class="py-op">)</tt> </tt> +<a name="L305"></a><tt class="py-lineno">305</tt> <tt class="py-line"> <tt class="py-keyword">elif</tt> <tt class="py-name">method</tt> <tt class="py-op">==</tt> <tt class="py-string">'publickey'</tt><tt class="py-op">:</tt> </tt> +<a name="L306"></a><tt class="py-lineno">306</tt> <tt class="py-line"> <tt class="py-name">sig_attached</tt> <tt class="py-op">=</tt> <tt class="py-name">m</tt><tt class="py-op">.</tt><tt id="link-164" class="py-name"><a title="paramiko.Message.get_boolean" class="py-name" href="#" onclick="return doclink('link-164', 'get_boolean', 'link-154');">get_boolean</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> +<a name="L307"></a><tt class="py-lineno">307</tt> <tt class="py-line"> <tt class="py-name">keytype</tt> <tt class="py-op">=</tt> <tt class="py-name">m</tt><tt class="py-op">.</tt><tt id="link-165" class="py-name"><a title="paramiko.Message.get_string" class="py-name" href="#" onclick="return doclink('link-165', 'get_string', 'link-75');">get_string</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> +<a name="L308"></a><tt class="py-lineno">308</tt> <tt class="py-line"> <tt class="py-name">keyblob</tt> <tt class="py-op">=</tt> <tt class="py-name">m</tt><tt class="py-op">.</tt><tt id="link-166" class="py-name"><a title="paramiko.Message.get_string" class="py-name" href="#" onclick="return doclink('link-166', 'get_string', 'link-75');">get_string</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> +<a name="L309"></a><tt class="py-lineno">309</tt> <tt class="py-line"> <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt> +<a name="L310"></a><tt class="py-lineno">310</tt> <tt class="py-line"> <tt class="py-name">key</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-167" class="py-name"><a title="paramiko.transport" class="py-name" href="#" onclick="return doclink('link-167', 'transport', 'link-15');">transport</a></tt><tt class="py-op">.</tt><tt id="link-168" class="py-name" targets="Variable paramiko.Transport._key_info=paramiko.Transport-class.html#_key_info"><a title="paramiko.Transport._key_info" class="py-name" href="#" onclick="return doclink('link-168', '_key_info', 'link-168');">_key_info</a></tt><tt class="py-op">[</tt><tt class="py-name">keytype</tt><tt class="py-op">]</tt><tt class="py-op">(</tt><tt id="link-169" class="py-name"><a title="paramiko.Message" class="py-name" href="#" onclick="return doclink('link-169', 'Message', 'link-6');">Message</a></tt><tt class="py-op">(</tt><tt class="py-name">keyblob</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt> +<a name="L311"></a><tt class="py-lineno">311</tt> <tt class="py-line"> <tt class="py-keyword">except</tt> <tt id="link-170" class="py-name"><a title="paramiko.SSHException" class="py-name" href="#" onclick="return doclink('link-170', 'SSHException', 'link-9');">SSHException</a></tt><tt class="py-op">,</tt> <tt class="py-name">e</tt><tt class="py-op">:</tt> </tt> +<a name="L312"></a><tt class="py-lineno">312</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-171" class="py-name"><a title="paramiko.transport" class="py-name" href="#" onclick="return doclink('link-171', 'transport', 'link-15');">transport</a></tt><tt class="py-op">.</tt><tt class="py-name">_log</tt><tt class="py-op">(</tt><tt id="link-172" class="py-name"><a title="paramiko.auth_handler.INFO +paramiko.channel.INFO +paramiko.client.INFO +paramiko.common.INFO +paramiko.dsskey.INFO +paramiko.hostkeys.INFO +paramiko.kex_gex.INFO +paramiko.kex_group1.INFO +paramiko.logging22.INFO +paramiko.packet.INFO +paramiko.pkey.INFO +paramiko.rsakey.INFO +paramiko.server.INFO +paramiko.sftp.INFO +paramiko.sftp_attr.INFO +paramiko.sftp_client.INFO +paramiko.sftp_file.INFO +paramiko.sftp_handle.INFO +paramiko.sftp_server.INFO +paramiko.sftp_si.INFO +paramiko.transport.INFO +paramiko.util.INFO" class="py-name" href="#" onclick="return doclink('link-172', 'INFO', 'link-111');">INFO</a></tt><tt class="py-op">,</tt> <tt class="py-string">'Auth rejected: public key: %s'</tt> <tt class="py-op">%</tt> <tt class="py-name">str</tt><tt class="py-op">(</tt><tt class="py-name">e</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt> +<a name="L313"></a><tt class="py-lineno">313</tt> <tt class="py-line"> <tt class="py-name">key</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt> +<a name="L314"></a><tt class="py-lineno">314</tt> <tt class="py-line"> <tt class="py-keyword">except</tt><tt class="py-op">:</tt> </tt> +<a name="L315"></a><tt class="py-lineno">315</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-173" class="py-name"><a title="paramiko.transport" class="py-name" href="#" onclick="return doclink('link-173', 'transport', 'link-15');">transport</a></tt><tt class="py-op">.</tt><tt class="py-name">_log</tt><tt class="py-op">(</tt><tt id="link-174" class="py-name"><a title="paramiko.auth_handler.INFO +paramiko.channel.INFO +paramiko.client.INFO +paramiko.common.INFO +paramiko.dsskey.INFO +paramiko.hostkeys.INFO +paramiko.kex_gex.INFO +paramiko.kex_group1.INFO +paramiko.logging22.INFO +paramiko.packet.INFO +paramiko.pkey.INFO +paramiko.rsakey.INFO +paramiko.server.INFO +paramiko.sftp.INFO +paramiko.sftp_attr.INFO +paramiko.sftp_client.INFO +paramiko.sftp_file.INFO +paramiko.sftp_handle.INFO +paramiko.sftp_server.INFO +paramiko.sftp_si.INFO +paramiko.transport.INFO +paramiko.util.INFO" class="py-name" href="#" onclick="return doclink('link-174', 'INFO', 'link-111');">INFO</a></tt><tt class="py-op">,</tt> <tt class="py-string">'Auth rejected: unsupported or mangled public key'</tt><tt class="py-op">)</tt> </tt> +<a name="L316"></a><tt class="py-lineno">316</tt> <tt class="py-line"> <tt class="py-name">key</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt> +<a name="L317"></a><tt class="py-lineno">317</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">key</tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt> +<a name="L318"></a><tt class="py-lineno">318</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_disconnect_no_more_auth</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> +<a name="L319"></a><tt class="py-lineno">319</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> </tt> +<a name="L320"></a><tt class="py-lineno">320</tt> <tt class="py-line"> <tt class="py-comment"># first check if this key is okay... if not, we can skip the verify</tt> </tt> +<a name="L321"></a><tt class="py-lineno">321</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-name">result</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-175" class="py-name"><a title="paramiko.transport" class="py-name" href="#" onclick="return doclink('link-175', 'transport', 'link-15');">transport</a></tt><tt class="py-op">.</tt><tt class="py-name">server_object</tt><tt class="py-op">.</tt><tt id="link-176" class="py-name" targets="Method paramiko.ServerInterface.check_auth_publickey()=paramiko.ServerInterface-class.html#check_auth_publickey"><a title="paramiko.ServerInterface.check_auth_publickey" class="py-name" href="#" onclick="return doclink('link-176', 'check_auth_publickey', 'link-176');">check_auth_publickey</a></tt><tt class="py-op">(</tt><tt class="py-name">username</tt><tt class="py-op">,</tt> <tt class="py-name">key</tt><tt class="py-op">)</tt> </tt> +<a name="L322"></a><tt class="py-lineno">322</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">result</tt> <tt class="py-op">!=</tt> <tt id="link-177" class="py-name"><a title="paramiko.auth_handler.AUTH_FAILED +paramiko.channel.AUTH_FAILED +paramiko.client.AUTH_FAILED +paramiko.common.AUTH_FAILED +paramiko.dsskey.AUTH_FAILED +paramiko.hostkeys.AUTH_FAILED +paramiko.kex_gex.AUTH_FAILED +paramiko.kex_group1.AUTH_FAILED +paramiko.packet.AUTH_FAILED +paramiko.pkey.AUTH_FAILED +paramiko.rsakey.AUTH_FAILED +paramiko.server.AUTH_FAILED +paramiko.sftp.AUTH_FAILED +paramiko.sftp_attr.AUTH_FAILED +paramiko.sftp_client.AUTH_FAILED +paramiko.sftp_file.AUTH_FAILED +paramiko.sftp_handle.AUTH_FAILED +paramiko.sftp_server.AUTH_FAILED +paramiko.sftp_si.AUTH_FAILED +paramiko.transport.AUTH_FAILED +paramiko.util.AUTH_FAILED" class="py-name" href="#" onclick="return doclink('link-177', 'AUTH_FAILED', 'link-161');">AUTH_FAILED</a></tt><tt class="py-op">:</tt> </tt> +<a name="L323"></a><tt class="py-lineno">323</tt> <tt class="py-line"> <tt class="py-comment"># key is okay, verify it</tt> </tt> +<a name="L324"></a><tt class="py-lineno">324</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt class="py-name">sig_attached</tt><tt class="py-op">:</tt> </tt> +<a name="L325"></a><tt class="py-lineno">325</tt> <tt class="py-line"> <tt class="py-comment"># client wants to know if this key is acceptable, before it</tt> </tt> +<a name="L326"></a><tt class="py-lineno">326</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-comment"># signs anything... send special "ok" message</tt> </tt> +<a name="L327"></a><tt class="py-lineno">327</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-name">m</tt> <tt class="py-op">=</tt> <tt id="link-178" class="py-name"><a title="paramiko.Message" class="py-name" href="#" onclick="return doclink('link-178', 'Message', 'link-6');">Message</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> +<a name="L328"></a><tt class="py-lineno">328</tt> <tt class="py-line"> <tt class="py-name">m</tt><tt class="py-op">.</tt><tt id="link-179" class="py-name"><a title="paramiko.Message.add_byte" class="py-name" href="#" onclick="return doclink('link-179', 'add_byte', 'link-28');">add_byte</a></tt><tt class="py-op">(</tt><tt class="py-name">chr</tt><tt class="py-op">(</tt><tt id="link-180" class="py-name" targets="Variable paramiko.auth_handler.MSG_USERAUTH_PK_OK=paramiko.auth_handler-module.html#MSG_USERAUTH_PK_OK,Variable paramiko.channel.MSG_USERAUTH_PK_OK=paramiko.channel-module.html#MSG_USERAUTH_PK_OK,Variable paramiko.client.MSG_USERAUTH_PK_OK=paramiko.client-module.html#MSG_USERAUTH_PK_OK,Variable paramiko.common.MSG_USERAUTH_PK_OK=paramiko.common-module.html#MSG_USERAUTH_PK_OK,Variable paramiko.dsskey.MSG_USERAUTH_PK_OK=paramiko.dsskey-module.html#MSG_USERAUTH_PK_OK,Variable paramiko.hostkeys.MSG_USERAUTH_PK_OK=paramiko.hostkeys-module.html#MSG_USERAUTH_PK_OK,Variable paramiko.kex_gex.MSG_USERAUTH_PK_OK=paramiko.kex_gex-module.html#MSG_USERAUTH_PK_OK,Variable paramiko.kex_group1.MSG_USERAUTH_PK_OK=paramiko.kex_group1-module.html#MSG_USERAUTH_PK_OK,Variable paramiko.packet.MSG_USERAUTH_PK_OK=paramiko.packet-module.html#MSG_USERAUTH_PK_OK,Variable paramiko.pkey.MSG_USERAUTH_PK_OK=paramiko.pkey-module.html#MSG_USERAUTH_PK_OK,Variable paramiko.rsakey.MSG_USERAUTH_PK_OK=paramiko.rsakey-module.html#MSG_USERAUTH_PK_OK,Variable paramiko.server.MSG_USERAUTH_PK_OK=paramiko.server-module.html#MSG_USERAUTH_PK_OK,Variable paramiko.sftp.MSG_USERAUTH_PK_OK=paramiko.sftp-module.html#MSG_USERAUTH_PK_OK,Variable paramiko.sftp_attr.MSG_USERAUTH_PK_OK=paramiko.sftp_attr-module.html#MSG_USERAUTH_PK_OK,Variable paramiko.sftp_client.MSG_USERAUTH_PK_OK=paramiko.sftp_client-module.html#MSG_USERAUTH_PK_OK,Variable paramiko.sftp_file.MSG_USERAUTH_PK_OK=paramiko.sftp_file-module.html#MSG_USERAUTH_PK_OK,Variable paramiko.sftp_handle.MSG_USERAUTH_PK_OK=paramiko.sftp_handle-module.html#MSG_USERAUTH_PK_OK,Variable paramiko.sftp_server.MSG_USERAUTH_PK_OK=paramiko.sftp_server-module.html#MSG_USERAUTH_PK_OK,Variable paramiko.sftp_si.MSG_USERAUTH_PK_OK=paramiko.sftp_si-module.html#MSG_USERAUTH_PK_OK,Variable paramiko.transport.MSG_USERAUTH_PK_OK=paramiko.transport-module.html#MSG_USERAUTH_PK_OK,Variable paramiko.util.MSG_USERAUTH_PK_OK=paramiko.util-module.html#MSG_USERAUTH_PK_OK"><a title="paramiko.auth_handler.MSG_USERAUTH_PK_OK +paramiko.channel.MSG_USERAUTH_PK_OK +paramiko.client.MSG_USERAUTH_PK_OK +paramiko.common.MSG_USERAUTH_PK_OK +paramiko.dsskey.MSG_USERAUTH_PK_OK +paramiko.hostkeys.MSG_USERAUTH_PK_OK +paramiko.kex_gex.MSG_USERAUTH_PK_OK +paramiko.kex_group1.MSG_USERAUTH_PK_OK +paramiko.packet.MSG_USERAUTH_PK_OK +paramiko.pkey.MSG_USERAUTH_PK_OK +paramiko.rsakey.MSG_USERAUTH_PK_OK +paramiko.server.MSG_USERAUTH_PK_OK +paramiko.sftp.MSG_USERAUTH_PK_OK +paramiko.sftp_attr.MSG_USERAUTH_PK_OK +paramiko.sftp_client.MSG_USERAUTH_PK_OK +paramiko.sftp_file.MSG_USERAUTH_PK_OK +paramiko.sftp_handle.MSG_USERAUTH_PK_OK +paramiko.sftp_server.MSG_USERAUTH_PK_OK +paramiko.sftp_si.MSG_USERAUTH_PK_OK +paramiko.transport.MSG_USERAUTH_PK_OK +paramiko.util.MSG_USERAUTH_PK_OK" class="py-name" href="#" onclick="return doclink('link-180', 'MSG_USERAUTH_PK_OK', 'link-180');">MSG_USERAUTH_PK_OK</a></tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt> +<a name="L329"></a><tt class="py-lineno">329</tt> <tt class="py-line"> <tt class="py-name">m</tt><tt class="py-op">.</tt><tt id="link-181" class="py-name"><a title="paramiko.Message.add_string" class="py-name" href="#" onclick="return doclink('link-181', 'add_string', 'link-30');">add_string</a></tt><tt class="py-op">(</tt><tt class="py-name">keytype</tt><tt class="py-op">)</tt> </tt> +<a name="L330"></a><tt class="py-lineno">330</tt> <tt class="py-line"> <tt class="py-name">m</tt><tt class="py-op">.</tt><tt id="link-182" class="py-name"><a title="paramiko.Message.add_string" class="py-name" href="#" onclick="return doclink('link-182', 'add_string', 'link-30');">add_string</a></tt><tt class="py-op">(</tt><tt class="py-name">keyblob</tt><tt class="py-op">)</tt> </tt> +<a name="L331"></a><tt class="py-lineno">331</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-183" class="py-name"><a title="paramiko.transport" class="py-name" href="#" onclick="return doclink('link-183', 'transport', 'link-15');">transport</a></tt><tt class="py-op">.</tt><tt class="py-name">_send_message</tt><tt class="py-op">(</tt><tt class="py-name">m</tt><tt class="py-op">)</tt> </tt> +<a name="L332"></a><tt class="py-lineno">332</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> </tt> +<a name="L333"></a><tt class="py-lineno">333</tt> <tt class="py-line"> <tt class="py-name">sig</tt> <tt class="py-op">=</tt> <tt id="link-184" class="py-name"><a title="paramiko.Message" class="py-name" href="#" onclick="return doclink('link-184', 'Message', 'link-6');">Message</a></tt><tt class="py-op">(</tt><tt class="py-name">m</tt><tt class="py-op">.</tt><tt id="link-185" class="py-name"><a title="paramiko.Message.get_string" class="py-name" href="#" onclick="return doclink('link-185', 'get_string', 'link-75');">get_string</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt> +<a name="L334"></a><tt class="py-lineno">334</tt> <tt class="py-line"> <tt class="py-name">blob</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_get_session_blob</tt><tt class="py-op">(</tt><tt class="py-name">key</tt><tt class="py-op">,</tt> <tt class="py-name">service</tt><tt class="py-op">,</tt> <tt class="py-name">username</tt><tt class="py-op">)</tt> </tt> +<a name="L335"></a><tt class="py-lineno">335</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt class="py-name">key</tt><tt class="py-op">.</tt><tt id="link-186" class="py-name" targets="Method paramiko.DSSKey.verify_ssh_sig()=paramiko.DSSKey-class.html#verify_ssh_sig,Method paramiko.PKey.verify_ssh_sig()=paramiko.PKey-class.html#verify_ssh_sig,Method paramiko.RSAKey.verify_ssh_sig()=paramiko.RSAKey-class.html#verify_ssh_sig"><a title="paramiko.DSSKey.verify_ssh_sig +paramiko.PKey.verify_ssh_sig +paramiko.RSAKey.verify_ssh_sig" class="py-name" href="#" onclick="return doclink('link-186', 'verify_ssh_sig', 'link-186');">verify_ssh_sig</a></tt><tt class="py-op">(</tt><tt class="py-name">blob</tt><tt class="py-op">,</tt> <tt class="py-name">sig</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> +<a name="L336"></a><tt class="py-lineno">336</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-187" class="py-name"><a title="paramiko.transport" class="py-name" href="#" onclick="return doclink('link-187', 'transport', 'link-15');">transport</a></tt><tt class="py-op">.</tt><tt class="py-name">_log</tt><tt class="py-op">(</tt><tt id="link-188" class="py-name"><a title="paramiko.auth_handler.INFO +paramiko.channel.INFO +paramiko.client.INFO +paramiko.common.INFO +paramiko.dsskey.INFO +paramiko.hostkeys.INFO +paramiko.kex_gex.INFO +paramiko.kex_group1.INFO +paramiko.logging22.INFO +paramiko.packet.INFO +paramiko.pkey.INFO +paramiko.rsakey.INFO +paramiko.server.INFO +paramiko.sftp.INFO +paramiko.sftp_attr.INFO +paramiko.sftp_client.INFO +paramiko.sftp_file.INFO +paramiko.sftp_handle.INFO +paramiko.sftp_server.INFO +paramiko.sftp_si.INFO +paramiko.transport.INFO +paramiko.util.INFO" class="py-name" href="#" onclick="return doclink('link-188', 'INFO', 'link-111');">INFO</a></tt><tt class="py-op">,</tt> <tt class="py-string">'Auth rejected: invalid signature'</tt><tt class="py-op">)</tt> </tt> +<a name="L337"></a><tt class="py-lineno">337</tt> <tt class="py-line"> <tt class="py-name">result</tt> <tt class="py-op">=</tt> <tt id="link-189" class="py-name"><a title="paramiko.auth_handler.AUTH_FAILED +paramiko.channel.AUTH_FAILED +paramiko.client.AUTH_FAILED +paramiko.common.AUTH_FAILED +paramiko.dsskey.AUTH_FAILED +paramiko.hostkeys.AUTH_FAILED +paramiko.kex_gex.AUTH_FAILED +paramiko.kex_group1.AUTH_FAILED +paramiko.packet.AUTH_FAILED +paramiko.pkey.AUTH_FAILED +paramiko.rsakey.AUTH_FAILED +paramiko.server.AUTH_FAILED +paramiko.sftp.AUTH_FAILED +paramiko.sftp_attr.AUTH_FAILED +paramiko.sftp_client.AUTH_FAILED +paramiko.sftp_file.AUTH_FAILED +paramiko.sftp_handle.AUTH_FAILED +paramiko.sftp_server.AUTH_FAILED +paramiko.sftp_si.AUTH_FAILED +paramiko.transport.AUTH_FAILED +paramiko.util.AUTH_FAILED" class="py-name" href="#" onclick="return doclink('link-189', 'AUTH_FAILED', 'link-161');">AUTH_FAILED</a></tt> </tt> +<a name="L338"></a><tt class="py-lineno">338</tt> <tt class="py-line"> <tt class="py-keyword">elif</tt> <tt class="py-name">method</tt> <tt class="py-op">==</tt> <tt class="py-string">'keyboard-interactive'</tt><tt class="py-op">:</tt> </tt> +<a name="L339"></a><tt class="py-lineno">339</tt> <tt class="py-line"> <tt class="py-name">lang</tt> <tt class="py-op">=</tt> <tt class="py-name">m</tt><tt class="py-op">.</tt><tt id="link-190" class="py-name"><a title="paramiko.Message.get_string" class="py-name" href="#" onclick="return doclink('link-190', 'get_string', 'link-75');">get_string</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> +<a name="L340"></a><tt class="py-lineno">340</tt> <tt class="py-line"> <tt class="py-name">submethods</tt> <tt class="py-op">=</tt> <tt class="py-name">m</tt><tt class="py-op">.</tt><tt id="link-191" class="py-name"><a title="paramiko.Message.get_string" class="py-name" href="#" onclick="return doclink('link-191', 'get_string', 'link-75');">get_string</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> +<a name="L341"></a><tt class="py-lineno">341</tt> <tt class="py-line"> <tt class="py-name">result</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-192" class="py-name"><a title="paramiko.transport" class="py-name" href="#" onclick="return doclink('link-192', 'transport', 'link-15');">transport</a></tt><tt class="py-op">.</tt><tt class="py-name">server_object</tt><tt class="py-op">.</tt><tt id="link-193" class="py-name" targets="Method paramiko.ServerInterface.check_auth_interactive()=paramiko.ServerInterface-class.html#check_auth_interactive"><a title="paramiko.ServerInterface.check_auth_interactive" class="py-name" href="#" onclick="return doclink('link-193', 'check_auth_interactive', 'link-193');">check_auth_interactive</a></tt><tt class="py-op">(</tt><tt class="py-name">username</tt><tt class="py-op">,</tt> <tt class="py-name">submethods</tt><tt class="py-op">)</tt> </tt> +<a name="L342"></a><tt class="py-lineno">342</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">isinstance</tt><tt class="py-op">(</tt><tt class="py-name">result</tt><tt class="py-op">,</tt> <tt class="py-name">InteractiveQuery</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> +<a name="L343"></a><tt class="py-lineno">343</tt> <tt class="py-line"> <tt class="py-comment"># make interactive query instead of response</tt> </tt> +<a name="L344"></a><tt class="py-lineno">344</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_interactive_query</tt><tt class="py-op">(</tt><tt class="py-name">result</tt><tt class="py-op">)</tt> </tt> +<a name="L345"></a><tt class="py-lineno">345</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> </tt> +<a name="L346"></a><tt class="py-lineno">346</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt> +<a name="L347"></a><tt class="py-lineno">347</tt> <tt class="py-line"> <tt class="py-name">result</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-194" class="py-name"><a title="paramiko.transport" class="py-name" href="#" onclick="return doclink('link-194', 'transport', 'link-15');">transport</a></tt><tt class="py-op">.</tt><tt class="py-name">server_object</tt><tt class="py-op">.</tt><tt id="link-195" class="py-name"><a title="paramiko.ServerInterface.check_auth_none" class="py-name" href="#" onclick="return doclink('link-195', 'check_auth_none', 'link-153');">check_auth_none</a></tt><tt class="py-op">(</tt><tt class="py-name">username</tt><tt class="py-op">)</tt> </tt> +<a name="L348"></a><tt class="py-lineno">348</tt> <tt class="py-line"> <tt class="py-comment"># okay, send result</tt> </tt> +<a name="L349"></a><tt class="py-lineno">349</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_send_auth_result</tt><tt class="py-op">(</tt><tt class="py-name">username</tt><tt class="py-op">,</tt> <tt class="py-name">method</tt><tt class="py-op">,</tt> <tt class="py-name">result</tt><tt class="py-op">)</tt> </tt> +</div><a name="L350"></a><tt class="py-lineno">350</tt> <tt class="py-line"> </tt> +<a name="AuthHandler._parse_userauth_success"></a><div id="AuthHandler._parse_userauth_success-def"><a name="L351"></a><tt class="py-lineno">351</tt> <a class="py-toggle" href="#" id="AuthHandler._parse_userauth_success-toggle" onclick="return toggle('AuthHandler._parse_userauth_success');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="paramiko.auth_handler.AuthHandler-class.html#_parse_userauth_success">_parse_userauth_success</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">m</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> +</div><div id="AuthHandler._parse_userauth_success-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="AuthHandler._parse_userauth_success-expanded"><a name="L352"></a><tt class="py-lineno">352</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-196" class="py-name"><a title="paramiko.transport" class="py-name" href="#" onclick="return doclink('link-196', 'transport', 'link-15');">transport</a></tt><tt class="py-op">.</tt><tt class="py-name">_log</tt><tt class="py-op">(</tt><tt id="link-197" class="py-name"><a title="paramiko.auth_handler.INFO +paramiko.channel.INFO +paramiko.client.INFO +paramiko.common.INFO +paramiko.dsskey.INFO +paramiko.hostkeys.INFO +paramiko.kex_gex.INFO +paramiko.kex_group1.INFO +paramiko.logging22.INFO +paramiko.packet.INFO +paramiko.pkey.INFO +paramiko.rsakey.INFO +paramiko.server.INFO +paramiko.sftp.INFO +paramiko.sftp_attr.INFO +paramiko.sftp_client.INFO +paramiko.sftp_file.INFO +paramiko.sftp_handle.INFO +paramiko.sftp_server.INFO +paramiko.sftp_si.INFO +paramiko.transport.INFO +paramiko.util.INFO" class="py-name" href="#" onclick="return doclink('link-197', 'INFO', 'link-111');">INFO</a></tt><tt class="py-op">,</tt> <tt class="py-string">'Authentication (%s) successful!'</tt> <tt class="py-op">%</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">auth_method</tt><tt class="py-op">)</tt> </tt> +<a name="L353"></a><tt class="py-lineno">353</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">authenticated</tt> <tt class="py-op">=</tt> <tt class="py-name">True</tt> </tt> +<a name="L354"></a><tt class="py-lineno">354</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-198" class="py-name"><a title="paramiko.transport" class="py-name" href="#" onclick="return doclink('link-198', 'transport', 'link-15');">transport</a></tt><tt class="py-op">.</tt><tt class="py-name">_auth_trigger</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> +<a name="L355"></a><tt class="py-lineno">355</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">auth_event</tt> <tt class="py-op">!=</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt> +<a name="L356"></a><tt class="py-lineno">356</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">auth_event</tt><tt class="py-op">.</tt><tt id="link-199" class="py-name"><a title="paramiko.pipe.OrPipe.set +paramiko.pipe.PosixPipe.set +paramiko.pipe.WindowsPipe.set" class="py-name" href="#" onclick="return doclink('link-199', 'set', 'link-26');">set</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> +</div><a name="L357"></a><tt class="py-lineno">357</tt> <tt class="py-line"> </tt> +<a name="AuthHandler._parse_userauth_failure"></a><div id="AuthHandler._parse_userauth_failure-def"><a name="L358"></a><tt class="py-lineno">358</tt> <a class="py-toggle" href="#" id="AuthHandler._parse_userauth_failure-toggle" onclick="return toggle('AuthHandler._parse_userauth_failure');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="paramiko.auth_handler.AuthHandler-class.html#_parse_userauth_failure">_parse_userauth_failure</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">m</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> +</div><div id="AuthHandler._parse_userauth_failure-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="AuthHandler._parse_userauth_failure-expanded"><a name="L359"></a><tt class="py-lineno">359</tt> <tt class="py-line"> <tt class="py-name">authlist</tt> <tt class="py-op">=</tt> <tt class="py-name">m</tt><tt class="py-op">.</tt><tt id="link-200" class="py-name" targets="Method paramiko.Message.get_list()=paramiko.Message-class.html#get_list"><a title="paramiko.Message.get_list" class="py-name" href="#" onclick="return doclink('link-200', 'get_list', 'link-200');">get_list</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> +<a name="L360"></a><tt class="py-lineno">360</tt> <tt class="py-line"> <tt class="py-name">partial</tt> <tt class="py-op">=</tt> <tt class="py-name">m</tt><tt class="py-op">.</tt><tt id="link-201" class="py-name"><a title="paramiko.Message.get_boolean" class="py-name" href="#" onclick="return doclink('link-201', 'get_boolean', 'link-154');">get_boolean</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> +<a name="L361"></a><tt class="py-lineno">361</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">partial</tt><tt class="py-op">:</tt> </tt> +<a name="L362"></a><tt class="py-lineno">362</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-202" class="py-name"><a title="paramiko.transport" class="py-name" href="#" onclick="return doclink('link-202', 'transport', 'link-15');">transport</a></tt><tt class="py-op">.</tt><tt class="py-name">_log</tt><tt class="py-op">(</tt><tt id="link-203" class="py-name"><a title="paramiko.auth_handler.INFO +paramiko.channel.INFO +paramiko.client.INFO +paramiko.common.INFO +paramiko.dsskey.INFO +paramiko.hostkeys.INFO +paramiko.kex_gex.INFO +paramiko.kex_group1.INFO +paramiko.logging22.INFO +paramiko.packet.INFO +paramiko.pkey.INFO +paramiko.rsakey.INFO +paramiko.server.INFO +paramiko.sftp.INFO +paramiko.sftp_attr.INFO +paramiko.sftp_client.INFO +paramiko.sftp_file.INFO +paramiko.sftp_handle.INFO +paramiko.sftp_server.INFO +paramiko.sftp_si.INFO +paramiko.transport.INFO +paramiko.util.INFO" class="py-name" href="#" onclick="return doclink('link-203', 'INFO', 'link-111');">INFO</a></tt><tt class="py-op">,</tt> <tt class="py-string">'Authentication continues...'</tt><tt class="py-op">)</tt> </tt> +<a name="L363"></a><tt class="py-lineno">363</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-204" class="py-name"><a title="paramiko.transport" class="py-name" href="#" onclick="return doclink('link-204', 'transport', 'link-15');">transport</a></tt><tt class="py-op">.</tt><tt class="py-name">_log</tt><tt class="py-op">(</tt><tt id="link-205" class="py-name"><a title="paramiko.auth_handler.DEBUG +paramiko.channel.DEBUG +paramiko.client.DEBUG +paramiko.common.DEBUG +paramiko.dsskey.DEBUG +paramiko.hostkeys.DEBUG +paramiko.kex_gex.DEBUG +paramiko.kex_group1.DEBUG +paramiko.logging22.DEBUG +paramiko.packet.DEBUG +paramiko.pkey.DEBUG +paramiko.rsakey.DEBUG +paramiko.server.DEBUG +paramiko.sftp.DEBUG +paramiko.sftp_attr.DEBUG +paramiko.sftp_client.DEBUG +paramiko.sftp_file.DEBUG +paramiko.sftp_handle.DEBUG +paramiko.sftp_server.DEBUG +paramiko.sftp_si.DEBUG +paramiko.transport.DEBUG +paramiko.util.DEBUG" class="py-name" href="#" onclick="return doclink('link-205', 'DEBUG', 'link-84');">DEBUG</a></tt><tt class="py-op">,</tt> <tt class="py-string">'Methods: '</tt> <tt class="py-op">+</tt> <tt class="py-name">str</tt><tt class="py-op">(</tt><tt class="py-name">authlist</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt> +<a name="L364"></a><tt class="py-lineno">364</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-206" class="py-name"><a title="paramiko.transport" class="py-name" href="#" onclick="return doclink('link-206', 'transport', 'link-15');">transport</a></tt><tt class="py-op">.</tt><tt class="py-name">saved_exception</tt> <tt class="py-op">=</tt> <tt id="link-207" class="py-name"><a title="paramiko.ssh_exception.PartialAuthentication" class="py-name" href="#" onclick="return doclink('link-207', 'PartialAuthentication', 'link-12');">PartialAuthentication</a></tt><tt class="py-op">(</tt><tt class="py-name">authlist</tt><tt class="py-op">)</tt> </tt> +<a name="L365"></a><tt class="py-lineno">365</tt> <tt class="py-line"> <tt class="py-keyword">elif</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">auth_method</tt> <tt class="py-keyword">not</tt> <tt class="py-keyword">in</tt> <tt class="py-name">authlist</tt><tt class="py-op">:</tt> </tt> +<a name="L366"></a><tt class="py-lineno">366</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-208" class="py-name"><a title="paramiko.transport" class="py-name" href="#" onclick="return doclink('link-208', 'transport', 'link-15');">transport</a></tt><tt class="py-op">.</tt><tt class="py-name">_log</tt><tt class="py-op">(</tt><tt id="link-209" class="py-name"><a title="paramiko.auth_handler.INFO +paramiko.channel.INFO +paramiko.client.INFO +paramiko.common.INFO +paramiko.dsskey.INFO +paramiko.hostkeys.INFO +paramiko.kex_gex.INFO +paramiko.kex_group1.INFO +paramiko.logging22.INFO +paramiko.packet.INFO +paramiko.pkey.INFO +paramiko.rsakey.INFO +paramiko.server.INFO +paramiko.sftp.INFO +paramiko.sftp_attr.INFO +paramiko.sftp_client.INFO +paramiko.sftp_file.INFO +paramiko.sftp_handle.INFO +paramiko.sftp_server.INFO +paramiko.sftp_si.INFO +paramiko.transport.INFO +paramiko.util.INFO" class="py-name" href="#" onclick="return doclink('link-209', 'INFO', 'link-111');">INFO</a></tt><tt class="py-op">,</tt> <tt class="py-string">'Authentication type (%s) not permitted.'</tt> <tt class="py-op">%</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">auth_method</tt><tt class="py-op">)</tt> </tt> +<a name="L367"></a><tt class="py-lineno">367</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-210" class="py-name"><a title="paramiko.transport" class="py-name" href="#" onclick="return doclink('link-210', 'transport', 'link-15');">transport</a></tt><tt class="py-op">.</tt><tt class="py-name">_log</tt><tt class="py-op">(</tt><tt id="link-211" class="py-name"><a title="paramiko.auth_handler.DEBUG +paramiko.channel.DEBUG +paramiko.client.DEBUG +paramiko.common.DEBUG +paramiko.dsskey.DEBUG +paramiko.hostkeys.DEBUG +paramiko.kex_gex.DEBUG +paramiko.kex_group1.DEBUG +paramiko.logging22.DEBUG +paramiko.packet.DEBUG +paramiko.pkey.DEBUG +paramiko.rsakey.DEBUG +paramiko.server.DEBUG +paramiko.sftp.DEBUG +paramiko.sftp_attr.DEBUG +paramiko.sftp_client.DEBUG +paramiko.sftp_file.DEBUG +paramiko.sftp_handle.DEBUG +paramiko.sftp_server.DEBUG +paramiko.sftp_si.DEBUG +paramiko.transport.DEBUG +paramiko.util.DEBUG" class="py-name" href="#" onclick="return doclink('link-211', 'DEBUG', 'link-84');">DEBUG</a></tt><tt class="py-op">,</tt> <tt class="py-string">'Allowed methods: '</tt> <tt class="py-op">+</tt> <tt class="py-name">str</tt><tt class="py-op">(</tt><tt class="py-name">authlist</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt> +<a name="L368"></a><tt class="py-lineno">368</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-212" class="py-name"><a title="paramiko.transport" class="py-name" href="#" onclick="return doclink('link-212', 'transport', 'link-15');">transport</a></tt><tt class="py-op">.</tt><tt class="py-name">saved_exception</tt> <tt class="py-op">=</tt> <tt id="link-213" class="py-name"><a title="paramiko.BadAuthenticationType" class="py-name" href="#" onclick="return doclink('link-213', 'BadAuthenticationType', 'link-11');">BadAuthenticationType</a></tt><tt class="py-op">(</tt><tt class="py-string">'Bad authentication type'</tt><tt class="py-op">,</tt> <tt class="py-name">authlist</tt><tt class="py-op">)</tt> </tt> +<a name="L369"></a><tt class="py-lineno">369</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt> +<a name="L370"></a><tt class="py-lineno">370</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-214" class="py-name"><a title="paramiko.transport" class="py-name" href="#" onclick="return doclink('link-214', 'transport', 'link-15');">transport</a></tt><tt class="py-op">.</tt><tt class="py-name">_log</tt><tt class="py-op">(</tt><tt id="link-215" class="py-name"><a title="paramiko.auth_handler.INFO +paramiko.channel.INFO +paramiko.client.INFO +paramiko.common.INFO +paramiko.dsskey.INFO +paramiko.hostkeys.INFO +paramiko.kex_gex.INFO +paramiko.kex_group1.INFO +paramiko.logging22.INFO +paramiko.packet.INFO +paramiko.pkey.INFO +paramiko.rsakey.INFO +paramiko.server.INFO +paramiko.sftp.INFO +paramiko.sftp_attr.INFO +paramiko.sftp_client.INFO +paramiko.sftp_file.INFO +paramiko.sftp_handle.INFO +paramiko.sftp_server.INFO +paramiko.sftp_si.INFO +paramiko.transport.INFO +paramiko.util.INFO" class="py-name" href="#" onclick="return doclink('link-215', 'INFO', 'link-111');">INFO</a></tt><tt class="py-op">,</tt> <tt class="py-string">'Authentication (%s) failed.'</tt> <tt class="py-op">%</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">auth_method</tt><tt class="py-op">)</tt> </tt> +<a name="L371"></a><tt class="py-lineno">371</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">authenticated</tt> <tt class="py-op">=</tt> <tt class="py-name">False</tt> </tt> +<a name="L372"></a><tt class="py-lineno">372</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">username</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt> +<a name="L373"></a><tt class="py-lineno">373</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">auth_event</tt> <tt class="py-op">!=</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt> +<a name="L374"></a><tt class="py-lineno">374</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">auth_event</tt><tt class="py-op">.</tt><tt id="link-216" class="py-name"><a title="paramiko.pipe.OrPipe.set +paramiko.pipe.PosixPipe.set +paramiko.pipe.WindowsPipe.set" class="py-name" href="#" onclick="return doclink('link-216', 'set', 'link-26');">set</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> +</div><a name="L375"></a><tt class="py-lineno">375</tt> <tt class="py-line"> </tt> +<a name="AuthHandler._parse_userauth_banner"></a><div id="AuthHandler._parse_userauth_banner-def"><a name="L376"></a><tt class="py-lineno">376</tt> <a class="py-toggle" href="#" id="AuthHandler._parse_userauth_banner-toggle" onclick="return toggle('AuthHandler._parse_userauth_banner');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="paramiko.auth_handler.AuthHandler-class.html#_parse_userauth_banner">_parse_userauth_banner</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">m</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> +</div><div id="AuthHandler._parse_userauth_banner-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="AuthHandler._parse_userauth_banner-expanded"><a name="L377"></a><tt class="py-lineno">377</tt> <tt class="py-line"> <tt class="py-name">banner</tt> <tt class="py-op">=</tt> <tt class="py-name">m</tt><tt class="py-op">.</tt><tt id="link-217" class="py-name"><a title="paramiko.Message.get_string" class="py-name" href="#" onclick="return doclink('link-217', 'get_string', 'link-75');">get_string</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> +<a name="L378"></a><tt class="py-lineno">378</tt> <tt class="py-line"> <tt class="py-name">lang</tt> <tt class="py-op">=</tt> <tt class="py-name">m</tt><tt class="py-op">.</tt><tt id="link-218" class="py-name"><a title="paramiko.Message.get_string" class="py-name" href="#" onclick="return doclink('link-218', 'get_string', 'link-75');">get_string</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> +<a name="L379"></a><tt class="py-lineno">379</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-219" class="py-name"><a title="paramiko.transport" class="py-name" href="#" onclick="return doclink('link-219', 'transport', 'link-15');">transport</a></tt><tt class="py-op">.</tt><tt class="py-name">_log</tt><tt class="py-op">(</tt><tt id="link-220" class="py-name"><a title="paramiko.auth_handler.INFO +paramiko.channel.INFO +paramiko.client.INFO +paramiko.common.INFO +paramiko.dsskey.INFO +paramiko.hostkeys.INFO +paramiko.kex_gex.INFO +paramiko.kex_group1.INFO +paramiko.logging22.INFO +paramiko.packet.INFO +paramiko.pkey.INFO +paramiko.rsakey.INFO +paramiko.server.INFO +paramiko.sftp.INFO +paramiko.sftp_attr.INFO +paramiko.sftp_client.INFO +paramiko.sftp_file.INFO +paramiko.sftp_handle.INFO +paramiko.sftp_server.INFO +paramiko.sftp_si.INFO +paramiko.transport.INFO +paramiko.util.INFO" class="py-name" href="#" onclick="return doclink('link-220', 'INFO', 'link-111');">INFO</a></tt><tt class="py-op">,</tt> <tt class="py-string">'Auth banner: '</tt> <tt class="py-op">+</tt> <tt class="py-name">banner</tt><tt class="py-op">)</tt> </tt> +</div><a name="L380"></a><tt class="py-lineno">380</tt> <tt class="py-line"> <tt class="py-comment"># who cares.</tt> </tt> +<a name="L381"></a><tt class="py-lineno">381</tt> <tt class="py-line"><tt class="py-comment"></tt> </tt> +<a name="AuthHandler._parse_userauth_info_request"></a><div id="AuthHandler._parse_userauth_info_request-def"><a name="L382"></a><tt class="py-lineno">382</tt> <a class="py-toggle" href="#" id="AuthHandler._parse_userauth_info_request-toggle" onclick="return toggle('AuthHandler._parse_userauth_info_request');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="paramiko.auth_handler.AuthHandler-class.html#_parse_userauth_info_request">_parse_userauth_info_request</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">m</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> +</div><div id="AuthHandler._parse_userauth_info_request-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="AuthHandler._parse_userauth_info_request-expanded"><a name="L383"></a><tt class="py-lineno">383</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">auth_method</tt> <tt class="py-op">!=</tt> <tt class="py-string">'keyboard-interactive'</tt><tt class="py-op">:</tt> </tt> +<a name="L384"></a><tt class="py-lineno">384</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt id="link-221" class="py-name"><a title="paramiko.SSHException" class="py-name" href="#" onclick="return doclink('link-221', 'SSHException', 'link-9');">SSHException</a></tt><tt class="py-op">(</tt><tt class="py-string">'Illegal info request from server'</tt><tt class="py-op">)</tt> </tt> +<a name="L385"></a><tt class="py-lineno">385</tt> <tt class="py-line"> <tt class="py-name">title</tt> <tt class="py-op">=</tt> <tt class="py-name">m</tt><tt class="py-op">.</tt><tt id="link-222" class="py-name"><a title="paramiko.Message.get_string" class="py-name" href="#" onclick="return doclink('link-222', 'get_string', 'link-75');">get_string</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> +<a name="L386"></a><tt class="py-lineno">386</tt> <tt class="py-line"> <tt class="py-name">instructions</tt> <tt class="py-op">=</tt> <tt class="py-name">m</tt><tt class="py-op">.</tt><tt id="link-223" class="py-name"><a title="paramiko.Message.get_string" class="py-name" href="#" onclick="return doclink('link-223', 'get_string', 'link-75');">get_string</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> +<a name="L387"></a><tt class="py-lineno">387</tt> <tt class="py-line"> <tt class="py-name">m</tt><tt class="py-op">.</tt><tt id="link-224" class="py-name"><a title="paramiko.Message.get_string" class="py-name" href="#" onclick="return doclink('link-224', 'get_string', 'link-75');">get_string</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> <tt class="py-comment"># lang</tt> </tt> +<a name="L388"></a><tt class="py-lineno">388</tt> <tt class="py-line"> <tt class="py-name">prompts</tt> <tt class="py-op">=</tt> <tt class="py-name">m</tt><tt class="py-op">.</tt><tt id="link-225" class="py-name" targets="Method paramiko.Message.get_int()=paramiko.Message-class.html#get_int"><a title="paramiko.Message.get_int" class="py-name" href="#" onclick="return doclink('link-225', 'get_int', 'link-225');">get_int</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> +<a name="L389"></a><tt class="py-lineno">389</tt> <tt class="py-line"> <tt class="py-name">prompt_list</tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt><tt class="py-op">]</tt> </tt> +<a name="L390"></a><tt class="py-lineno">390</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">i</tt> <tt class="py-keyword">in</tt> <tt class="py-name">range</tt><tt class="py-op">(</tt><tt class="py-name">prompts</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> +<a name="L391"></a><tt class="py-lineno">391</tt> <tt class="py-line"> <tt class="py-name">prompt_list</tt><tt class="py-op">.</tt><tt class="py-name">append</tt><tt class="py-op">(</tt><tt class="py-op">(</tt><tt class="py-name">m</tt><tt class="py-op">.</tt><tt id="link-226" class="py-name"><a title="paramiko.Message.get_string" class="py-name" href="#" onclick="return doclink('link-226', 'get_string', 'link-75');">get_string</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">,</tt> <tt class="py-name">m</tt><tt class="py-op">.</tt><tt id="link-227" class="py-name"><a title="paramiko.Message.get_boolean" class="py-name" href="#" onclick="return doclink('link-227', 'get_boolean', 'link-154');">get_boolean</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt> +<a name="L392"></a><tt class="py-lineno">392</tt> <tt class="py-line"> <tt class="py-name">response_list</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">interactive_handler</tt><tt class="py-op">(</tt><tt class="py-name">title</tt><tt class="py-op">,</tt> <tt class="py-name">instructions</tt><tt class="py-op">,</tt> <tt class="py-name">prompt_list</tt><tt class="py-op">)</tt> </tt> +<a name="L393"></a><tt class="py-lineno">393</tt> <tt class="py-line"> </tt> +<a name="L394"></a><tt class="py-lineno">394</tt> <tt class="py-line"> <tt class="py-name">m</tt> <tt class="py-op">=</tt> <tt id="link-228" class="py-name"><a title="paramiko.Message" class="py-name" href="#" onclick="return doclink('link-228', 'Message', 'link-6');">Message</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> +<a name="L395"></a><tt class="py-lineno">395</tt> <tt class="py-line"> <tt class="py-name">m</tt><tt class="py-op">.</tt><tt id="link-229" class="py-name"><a title="paramiko.Message.add_byte" class="py-name" href="#" onclick="return doclink('link-229', 'add_byte', 'link-28');">add_byte</a></tt><tt class="py-op">(</tt><tt class="py-name">chr</tt><tt class="py-op">(</tt><tt id="link-230" class="py-name" targets="Variable paramiko.auth_handler.MSG_USERAUTH_INFO_RESPONSE=paramiko.auth_handler-module.html#MSG_USERAUTH_INFO_RESPONSE,Variable paramiko.channel.MSG_USERAUTH_INFO_RESPONSE=paramiko.channel-module.html#MSG_USERAUTH_INFO_RESPONSE,Variable paramiko.client.MSG_USERAUTH_INFO_RESPONSE=paramiko.client-module.html#MSG_USERAUTH_INFO_RESPONSE,Variable paramiko.common.MSG_USERAUTH_INFO_RESPONSE=paramiko.common-module.html#MSG_USERAUTH_INFO_RESPONSE,Variable paramiko.dsskey.MSG_USERAUTH_INFO_RESPONSE=paramiko.dsskey-module.html#MSG_USERAUTH_INFO_RESPONSE,Variable paramiko.hostkeys.MSG_USERAUTH_INFO_RESPONSE=paramiko.hostkeys-module.html#MSG_USERAUTH_INFO_RESPONSE,Variable paramiko.kex_gex.MSG_USERAUTH_INFO_RESPONSE=paramiko.kex_gex-module.html#MSG_USERAUTH_INFO_RESPONSE,Variable paramiko.kex_group1.MSG_USERAUTH_INFO_RESPONSE=paramiko.kex_group1-module.html#MSG_USERAUTH_INFO_RESPONSE,Variable paramiko.packet.MSG_USERAUTH_INFO_RESPONSE=paramiko.packet-module.html#MSG_USERAUTH_INFO_RESPONSE,Variable paramiko.pkey.MSG_USERAUTH_INFO_RESPONSE=paramiko.pkey-module.html#MSG_USERAUTH_INFO_RESPONSE,Variable paramiko.rsakey.MSG_USERAUTH_INFO_RESPONSE=paramiko.rsakey-module.html#MSG_USERAUTH_INFO_RESPONSE,Variable paramiko.server.MSG_USERAUTH_INFO_RESPONSE=paramiko.server-module.html#MSG_USERAUTH_INFO_RESPONSE,Variable paramiko.sftp.MSG_USERAUTH_INFO_RESPONSE=paramiko.sftp-module.html#MSG_USERAUTH_INFO_RESPONSE,Variable paramiko.sftp_attr.MSG_USERAUTH_INFO_RESPONSE=paramiko.sftp_attr-module.html#MSG_USERAUTH_INFO_RESPONSE,Variable paramiko.sftp_client.MSG_USERAUTH_INFO_RESPONSE=paramiko.sftp_client-module.html#MSG_USERAUTH_INFO_RESPONSE,Variable paramiko.sftp_file.MSG_USERAUTH_INFO_RESPONSE=paramiko.sftp_file-module.html#MSG_USERAUTH_INFO_RESPONSE,Variable paramiko.sftp_handle.MSG_USERAUTH_INFO_RESPONSE=paramiko.sftp_handle-module.html#MSG_USERAUTH_INFO_RESPONSE,Variable paramiko.sftp_server.MSG_USERAUTH_INFO_RESPONSE=paramiko.sftp_server-module.html#MSG_USERAUTH_INFO_RESPONSE,Variable paramiko.sftp_si.MSG_USERAUTH_INFO_RESPONSE=paramiko.sftp_si-module.html#MSG_USERAUTH_INFO_RESPONSE,Variable paramiko.transport.MSG_USERAUTH_INFO_RESPONSE=paramiko.transport-module.html#MSG_USERAUTH_INFO_RESPONSE,Variable paramiko.util.MSG_USERAUTH_INFO_RESPONSE=paramiko.util-module.html#MSG_USERAUTH_INFO_RESPONSE"><a title="paramiko.auth_handler.MSG_USERAUTH_INFO_RESPONSE +paramiko.channel.MSG_USERAUTH_INFO_RESPONSE +paramiko.client.MSG_USERAUTH_INFO_RESPONSE +paramiko.common.MSG_USERAUTH_INFO_RESPONSE +paramiko.dsskey.MSG_USERAUTH_INFO_RESPONSE +paramiko.hostkeys.MSG_USERAUTH_INFO_RESPONSE +paramiko.kex_gex.MSG_USERAUTH_INFO_RESPONSE +paramiko.kex_group1.MSG_USERAUTH_INFO_RESPONSE +paramiko.packet.MSG_USERAUTH_INFO_RESPONSE +paramiko.pkey.MSG_USERAUTH_INFO_RESPONSE +paramiko.rsakey.MSG_USERAUTH_INFO_RESPONSE +paramiko.server.MSG_USERAUTH_INFO_RESPONSE +paramiko.sftp.MSG_USERAUTH_INFO_RESPONSE +paramiko.sftp_attr.MSG_USERAUTH_INFO_RESPONSE +paramiko.sftp_client.MSG_USERAUTH_INFO_RESPONSE +paramiko.sftp_file.MSG_USERAUTH_INFO_RESPONSE +paramiko.sftp_handle.MSG_USERAUTH_INFO_RESPONSE +paramiko.sftp_server.MSG_USERAUTH_INFO_RESPONSE +paramiko.sftp_si.MSG_USERAUTH_INFO_RESPONSE +paramiko.transport.MSG_USERAUTH_INFO_RESPONSE +paramiko.util.MSG_USERAUTH_INFO_RESPONSE" class="py-name" href="#" onclick="return doclink('link-230', 'MSG_USERAUTH_INFO_RESPONSE', 'link-230');">MSG_USERAUTH_INFO_RESPONSE</a></tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt> +<a name="L396"></a><tt class="py-lineno">396</tt> <tt class="py-line"> <tt class="py-name">m</tt><tt class="py-op">.</tt><tt id="link-231" class="py-name"><a title="paramiko.Message.add_int" class="py-name" href="#" onclick="return doclink('link-231', 'add_int', 'link-35');">add_int</a></tt><tt class="py-op">(</tt><tt class="py-name">len</tt><tt class="py-op">(</tt><tt class="py-name">response_list</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt> +<a name="L397"></a><tt class="py-lineno">397</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">r</tt> <tt class="py-keyword">in</tt> <tt class="py-name">response_list</tt><tt class="py-op">:</tt> </tt> +<a name="L398"></a><tt class="py-lineno">398</tt> <tt class="py-line"> <tt class="py-name">m</tt><tt class="py-op">.</tt><tt id="link-232" class="py-name"><a title="paramiko.Message.add_string" class="py-name" href="#" onclick="return doclink('link-232', 'add_string', 'link-30');">add_string</a></tt><tt class="py-op">(</tt><tt class="py-name">r</tt><tt class="py-op">)</tt> </tt> +<a name="L399"></a><tt class="py-lineno">399</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-233" class="py-name"><a title="paramiko.transport" class="py-name" href="#" onclick="return doclink('link-233', 'transport', 'link-15');">transport</a></tt><tt class="py-op">.</tt><tt class="py-name">_send_message</tt><tt class="py-op">(</tt><tt class="py-name">m</tt><tt class="py-op">)</tt> </tt> +</div><a name="L400"></a><tt class="py-lineno">400</tt> <tt class="py-line"> </tt> +<a name="AuthHandler._parse_userauth_info_response"></a><div id="AuthHandler._parse_userauth_info_response-def"><a name="L401"></a><tt class="py-lineno">401</tt> <a class="py-toggle" href="#" id="AuthHandler._parse_userauth_info_response-toggle" onclick="return toggle('AuthHandler._parse_userauth_info_response');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="paramiko.auth_handler.AuthHandler-class.html#_parse_userauth_info_response">_parse_userauth_info_response</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">m</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> +</div><div id="AuthHandler._parse_userauth_info_response-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="AuthHandler._parse_userauth_info_response-expanded"><a name="L402"></a><tt class="py-lineno">402</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-234" class="py-name"><a title="paramiko.transport" class="py-name" href="#" onclick="return doclink('link-234', 'transport', 'link-15');">transport</a></tt><tt class="py-op">.</tt><tt class="py-name">server_mode</tt><tt class="py-op">:</tt> </tt> +<a name="L403"></a><tt class="py-lineno">403</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt id="link-235" class="py-name"><a title="paramiko.SSHException" class="py-name" href="#" onclick="return doclink('link-235', 'SSHException', 'link-9');">SSHException</a></tt><tt class="py-op">(</tt><tt class="py-string">'Illegal info response from server'</tt><tt class="py-op">)</tt> </tt> +<a name="L404"></a><tt class="py-lineno">404</tt> <tt class="py-line"> <tt class="py-name">n</tt> <tt class="py-op">=</tt> <tt class="py-name">m</tt><tt class="py-op">.</tt><tt id="link-236" class="py-name"><a title="paramiko.Message.get_int" class="py-name" href="#" onclick="return doclink('link-236', 'get_int', 'link-225');">get_int</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> +<a name="L405"></a><tt class="py-lineno">405</tt> <tt class="py-line"> <tt class="py-name">responses</tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt><tt class="py-op">]</tt> </tt> +<a name="L406"></a><tt class="py-lineno">406</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">i</tt> <tt class="py-keyword">in</tt> <tt class="py-name">range</tt><tt class="py-op">(</tt><tt class="py-name">n</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> +<a name="L407"></a><tt class="py-lineno">407</tt> <tt class="py-line"> <tt class="py-name">responses</tt><tt class="py-op">.</tt><tt class="py-name">append</tt><tt class="py-op">(</tt><tt class="py-name">m</tt><tt class="py-op">.</tt><tt id="link-237" class="py-name"><a title="paramiko.Message.get_string" class="py-name" href="#" onclick="return doclink('link-237', 'get_string', 'link-75');">get_string</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt> +<a name="L408"></a><tt class="py-lineno">408</tt> <tt class="py-line"> <tt class="py-name">result</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-238" class="py-name"><a title="paramiko.transport" class="py-name" href="#" onclick="return doclink('link-238', 'transport', 'link-15');">transport</a></tt><tt class="py-op">.</tt><tt class="py-name">server_object</tt><tt class="py-op">.</tt><tt id="link-239" class="py-name" targets="Method paramiko.ServerInterface.check_auth_interactive_response()=paramiko.ServerInterface-class.html#check_auth_interactive_response"><a title="paramiko.ServerInterface.check_auth_interactive_response" class="py-name" href="#" onclick="return doclink('link-239', 'check_auth_interactive_response', 'link-239');">check_auth_interactive_response</a></tt><tt class="py-op">(</tt><tt class="py-name">responses</tt><tt class="py-op">)</tt> </tt> +<a name="L409"></a><tt class="py-lineno">409</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">isinstance</tt><tt class="py-op">(</tt><tt class="py-name">type</tt><tt class="py-op">(</tt><tt class="py-name">result</tt><tt class="py-op">)</tt><tt class="py-op">,</tt> <tt class="py-name">InteractiveQuery</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> +<a name="L410"></a><tt class="py-lineno">410</tt> <tt class="py-line"> <tt class="py-comment"># make interactive query instead of response</tt> </tt> +<a name="L411"></a><tt class="py-lineno">411</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_interactive_query</tt><tt class="py-op">(</tt><tt class="py-name">result</tt><tt class="py-op">)</tt> </tt> +<a name="L412"></a><tt class="py-lineno">412</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> </tt> +<a name="L413"></a><tt class="py-lineno">413</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_send_auth_result</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">auth_username</tt><tt class="py-op">,</tt> <tt class="py-string">'keyboard-interactive'</tt><tt class="py-op">,</tt> <tt class="py-name">result</tt><tt class="py-op">)</tt> </tt> +</div><a name="L414"></a><tt class="py-lineno">414</tt> <tt class="py-line"> </tt> +<a name="L415"></a><tt class="py-lineno">415</tt> <tt class="py-line"> </tt> +<a name="L416"></a><tt class="py-lineno">416</tt> <tt class="py-line"> <tt id="link-240" class="py-name" targets="Variable paramiko.Transport._handler_table=paramiko.Transport-class.html#_handler_table"><a title="paramiko.Transport._handler_table" class="py-name" href="#" onclick="return doclink('link-240', '_handler_table', 'link-240');">_handler_table</a></tt> <tt class="py-op">=</tt> <tt class="py-op">{</tt> </tt> +<a name="L417"></a><tt class="py-lineno">417</tt> <tt class="py-line"> <tt id="link-241" class="py-name"><a title="paramiko.auth_handler.MSG_SERVICE_REQUEST +paramiko.channel.MSG_SERVICE_REQUEST +paramiko.client.MSG_SERVICE_REQUEST +paramiko.common.MSG_SERVICE_REQUEST +paramiko.dsskey.MSG_SERVICE_REQUEST +paramiko.hostkeys.MSG_SERVICE_REQUEST +paramiko.kex_gex.MSG_SERVICE_REQUEST +paramiko.kex_group1.MSG_SERVICE_REQUEST +paramiko.packet.MSG_SERVICE_REQUEST +paramiko.pkey.MSG_SERVICE_REQUEST +paramiko.rsakey.MSG_SERVICE_REQUEST +paramiko.server.MSG_SERVICE_REQUEST +paramiko.sftp.MSG_SERVICE_REQUEST +paramiko.sftp_attr.MSG_SERVICE_REQUEST +paramiko.sftp_client.MSG_SERVICE_REQUEST +paramiko.sftp_file.MSG_SERVICE_REQUEST +paramiko.sftp_handle.MSG_SERVICE_REQUEST +paramiko.sftp_server.MSG_SERVICE_REQUEST +paramiko.sftp_si.MSG_SERVICE_REQUEST +paramiko.transport.MSG_SERVICE_REQUEST +paramiko.util.MSG_SERVICE_REQUEST" class="py-name" href="#" onclick="return doclink('link-241', 'MSG_SERVICE_REQUEST', 'link-29');">MSG_SERVICE_REQUEST</a></tt><tt class="py-op">:</tt> <tt class="py-name">_parse_service_request</tt><tt class="py-op">,</tt> </tt> +<a name="L418"></a><tt class="py-lineno">418</tt> <tt class="py-line"> <tt id="link-242" class="py-name"><a title="paramiko.auth_handler.MSG_SERVICE_ACCEPT +paramiko.channel.MSG_SERVICE_ACCEPT +paramiko.client.MSG_SERVICE_ACCEPT +paramiko.common.MSG_SERVICE_ACCEPT +paramiko.dsskey.MSG_SERVICE_ACCEPT +paramiko.hostkeys.MSG_SERVICE_ACCEPT +paramiko.kex_gex.MSG_SERVICE_ACCEPT +paramiko.kex_group1.MSG_SERVICE_ACCEPT +paramiko.packet.MSG_SERVICE_ACCEPT +paramiko.pkey.MSG_SERVICE_ACCEPT +paramiko.rsakey.MSG_SERVICE_ACCEPT +paramiko.server.MSG_SERVICE_ACCEPT +paramiko.sftp.MSG_SERVICE_ACCEPT +paramiko.sftp_attr.MSG_SERVICE_ACCEPT +paramiko.sftp_client.MSG_SERVICE_ACCEPT +paramiko.sftp_file.MSG_SERVICE_ACCEPT +paramiko.sftp_handle.MSG_SERVICE_ACCEPT +paramiko.sftp_server.MSG_SERVICE_ACCEPT +paramiko.sftp_si.MSG_SERVICE_ACCEPT +paramiko.transport.MSG_SERVICE_ACCEPT +paramiko.util.MSG_SERVICE_ACCEPT" class="py-name" href="#" onclick="return doclink('link-242', 'MSG_SERVICE_ACCEPT', 'link-79');">MSG_SERVICE_ACCEPT</a></tt><tt class="py-op">:</tt> <tt class="py-name">_parse_service_accept</tt><tt class="py-op">,</tt> </tt> +<a name="L419"></a><tt class="py-lineno">419</tt> <tt class="py-line"> <tt id="link-243" class="py-name"><a title="paramiko.auth_handler.MSG_USERAUTH_REQUEST +paramiko.channel.MSG_USERAUTH_REQUEST +paramiko.client.MSG_USERAUTH_REQUEST +paramiko.common.MSG_USERAUTH_REQUEST +paramiko.dsskey.MSG_USERAUTH_REQUEST +paramiko.hostkeys.MSG_USERAUTH_REQUEST +paramiko.kex_gex.MSG_USERAUTH_REQUEST +paramiko.kex_group1.MSG_USERAUTH_REQUEST +paramiko.packet.MSG_USERAUTH_REQUEST +paramiko.pkey.MSG_USERAUTH_REQUEST +paramiko.rsakey.MSG_USERAUTH_REQUEST +paramiko.server.MSG_USERAUTH_REQUEST +paramiko.sftp.MSG_USERAUTH_REQUEST +paramiko.sftp_attr.MSG_USERAUTH_REQUEST +paramiko.sftp_client.MSG_USERAUTH_REQUEST +paramiko.sftp_file.MSG_USERAUTH_REQUEST +paramiko.sftp_handle.MSG_USERAUTH_REQUEST +paramiko.sftp_server.MSG_USERAUTH_REQUEST +paramiko.sftp_si.MSG_USERAUTH_REQUEST +paramiko.transport.MSG_USERAUTH_REQUEST +paramiko.util.MSG_USERAUTH_REQUEST" class="py-name" href="#" onclick="return doclink('link-243', 'MSG_USERAUTH_REQUEST', 'link-56');">MSG_USERAUTH_REQUEST</a></tt><tt class="py-op">:</tt> <tt class="py-name">_parse_userauth_request</tt><tt class="py-op">,</tt> </tt> +<a name="L420"></a><tt class="py-lineno">420</tt> <tt class="py-line"> <tt id="link-244" class="py-name"><a title="paramiko.auth_handler.MSG_USERAUTH_SUCCESS +paramiko.channel.MSG_USERAUTH_SUCCESS +paramiko.client.MSG_USERAUTH_SUCCESS +paramiko.common.MSG_USERAUTH_SUCCESS +paramiko.dsskey.MSG_USERAUTH_SUCCESS +paramiko.hostkeys.MSG_USERAUTH_SUCCESS +paramiko.kex_gex.MSG_USERAUTH_SUCCESS +paramiko.kex_group1.MSG_USERAUTH_SUCCESS +paramiko.packet.MSG_USERAUTH_SUCCESS +paramiko.pkey.MSG_USERAUTH_SUCCESS +paramiko.rsakey.MSG_USERAUTH_SUCCESS +paramiko.server.MSG_USERAUTH_SUCCESS +paramiko.sftp.MSG_USERAUTH_SUCCESS +paramiko.sftp_attr.MSG_USERAUTH_SUCCESS +paramiko.sftp_client.MSG_USERAUTH_SUCCESS +paramiko.sftp_file.MSG_USERAUTH_SUCCESS +paramiko.sftp_handle.MSG_USERAUTH_SUCCESS +paramiko.sftp_server.MSG_USERAUTH_SUCCESS +paramiko.sftp_si.MSG_USERAUTH_SUCCESS +paramiko.transport.MSG_USERAUTH_SUCCESS +paramiko.util.MSG_USERAUTH_SUCCESS" class="py-name" href="#" onclick="return doclink('link-244', 'MSG_USERAUTH_SUCCESS', 'link-113');">MSG_USERAUTH_SUCCESS</a></tt><tt class="py-op">:</tt> <tt class="py-name">_parse_userauth_success</tt><tt class="py-op">,</tt> </tt> +<a name="L421"></a><tt class="py-lineno">421</tt> <tt class="py-line"> <tt id="link-245" class="py-name"><a title="paramiko.auth_handler.MSG_USERAUTH_FAILURE +paramiko.channel.MSG_USERAUTH_FAILURE +paramiko.client.MSG_USERAUTH_FAILURE +paramiko.common.MSG_USERAUTH_FAILURE +paramiko.dsskey.MSG_USERAUTH_FAILURE +paramiko.hostkeys.MSG_USERAUTH_FAILURE +paramiko.kex_gex.MSG_USERAUTH_FAILURE +paramiko.kex_group1.MSG_USERAUTH_FAILURE +paramiko.packet.MSG_USERAUTH_FAILURE +paramiko.pkey.MSG_USERAUTH_FAILURE +paramiko.rsakey.MSG_USERAUTH_FAILURE +paramiko.server.MSG_USERAUTH_FAILURE +paramiko.sftp.MSG_USERAUTH_FAILURE +paramiko.sftp_attr.MSG_USERAUTH_FAILURE +paramiko.sftp_client.MSG_USERAUTH_FAILURE +paramiko.sftp_file.MSG_USERAUTH_FAILURE +paramiko.sftp_handle.MSG_USERAUTH_FAILURE +paramiko.sftp_server.MSG_USERAUTH_FAILURE +paramiko.sftp_si.MSG_USERAUTH_FAILURE +paramiko.transport.MSG_USERAUTH_FAILURE +paramiko.util.MSG_USERAUTH_FAILURE" class="py-name" href="#" onclick="return doclink('link-245', 'MSG_USERAUTH_FAILURE', 'link-117');">MSG_USERAUTH_FAILURE</a></tt><tt class="py-op">:</tt> <tt class="py-name">_parse_userauth_failure</tt><tt class="py-op">,</tt> </tt> +<a name="L422"></a><tt class="py-lineno">422</tt> <tt class="py-line"> <tt id="link-246" class="py-name" targets="Variable paramiko.auth_handler.MSG_USERAUTH_BANNER=paramiko.auth_handler-module.html#MSG_USERAUTH_BANNER,Variable paramiko.channel.MSG_USERAUTH_BANNER=paramiko.channel-module.html#MSG_USERAUTH_BANNER,Variable paramiko.client.MSG_USERAUTH_BANNER=paramiko.client-module.html#MSG_USERAUTH_BANNER,Variable paramiko.common.MSG_USERAUTH_BANNER=paramiko.common-module.html#MSG_USERAUTH_BANNER,Variable paramiko.dsskey.MSG_USERAUTH_BANNER=paramiko.dsskey-module.html#MSG_USERAUTH_BANNER,Variable paramiko.hostkeys.MSG_USERAUTH_BANNER=paramiko.hostkeys-module.html#MSG_USERAUTH_BANNER,Variable paramiko.kex_gex.MSG_USERAUTH_BANNER=paramiko.kex_gex-module.html#MSG_USERAUTH_BANNER,Variable paramiko.kex_group1.MSG_USERAUTH_BANNER=paramiko.kex_group1-module.html#MSG_USERAUTH_BANNER,Variable paramiko.packet.MSG_USERAUTH_BANNER=paramiko.packet-module.html#MSG_USERAUTH_BANNER,Variable paramiko.pkey.MSG_USERAUTH_BANNER=paramiko.pkey-module.html#MSG_USERAUTH_BANNER,Variable paramiko.rsakey.MSG_USERAUTH_BANNER=paramiko.rsakey-module.html#MSG_USERAUTH_BANNER,Variable paramiko.server.MSG_USERAUTH_BANNER=paramiko.server-module.html#MSG_USERAUTH_BANNER,Variable paramiko.sftp.MSG_USERAUTH_BANNER=paramiko.sftp-module.html#MSG_USERAUTH_BANNER,Variable paramiko.sftp_attr.MSG_USERAUTH_BANNER=paramiko.sftp_attr-module.html#MSG_USERAUTH_BANNER,Variable paramiko.sftp_client.MSG_USERAUTH_BANNER=paramiko.sftp_client-module.html#MSG_USERAUTH_BANNER,Variable paramiko.sftp_file.MSG_USERAUTH_BANNER=paramiko.sftp_file-module.html#MSG_USERAUTH_BANNER,Variable paramiko.sftp_handle.MSG_USERAUTH_BANNER=paramiko.sftp_handle-module.html#MSG_USERAUTH_BANNER,Variable paramiko.sftp_server.MSG_USERAUTH_BANNER=paramiko.sftp_server-module.html#MSG_USERAUTH_BANNER,Variable paramiko.sftp_si.MSG_USERAUTH_BANNER=paramiko.sftp_si-module.html#MSG_USERAUTH_BANNER,Variable paramiko.transport.MSG_USERAUTH_BANNER=paramiko.transport-module.html#MSG_USERAUTH_BANNER,Variable paramiko.util.MSG_USERAUTH_BANNER=paramiko.util-module.html#MSG_USERAUTH_BANNER"><a title="paramiko.auth_handler.MSG_USERAUTH_BANNER +paramiko.channel.MSG_USERAUTH_BANNER +paramiko.client.MSG_USERAUTH_BANNER +paramiko.common.MSG_USERAUTH_BANNER +paramiko.dsskey.MSG_USERAUTH_BANNER +paramiko.hostkeys.MSG_USERAUTH_BANNER +paramiko.kex_gex.MSG_USERAUTH_BANNER +paramiko.kex_group1.MSG_USERAUTH_BANNER +paramiko.packet.MSG_USERAUTH_BANNER +paramiko.pkey.MSG_USERAUTH_BANNER +paramiko.rsakey.MSG_USERAUTH_BANNER +paramiko.server.MSG_USERAUTH_BANNER +paramiko.sftp.MSG_USERAUTH_BANNER +paramiko.sftp_attr.MSG_USERAUTH_BANNER +paramiko.sftp_client.MSG_USERAUTH_BANNER +paramiko.sftp_file.MSG_USERAUTH_BANNER +paramiko.sftp_handle.MSG_USERAUTH_BANNER +paramiko.sftp_server.MSG_USERAUTH_BANNER +paramiko.sftp_si.MSG_USERAUTH_BANNER +paramiko.transport.MSG_USERAUTH_BANNER +paramiko.util.MSG_USERAUTH_BANNER" class="py-name" href="#" onclick="return doclink('link-246', 'MSG_USERAUTH_BANNER', 'link-246');">MSG_USERAUTH_BANNER</a></tt><tt class="py-op">:</tt> <tt class="py-name">_parse_userauth_banner</tt><tt class="py-op">,</tt> </tt> +<a name="L423"></a><tt class="py-lineno">423</tt> <tt class="py-line"> <tt id="link-247" class="py-name"><a title="paramiko.auth_handler.MSG_USERAUTH_INFO_REQUEST +paramiko.channel.MSG_USERAUTH_INFO_REQUEST +paramiko.client.MSG_USERAUTH_INFO_REQUEST +paramiko.common.MSG_USERAUTH_INFO_REQUEST +paramiko.dsskey.MSG_USERAUTH_INFO_REQUEST +paramiko.hostkeys.MSG_USERAUTH_INFO_REQUEST +paramiko.kex_gex.MSG_USERAUTH_INFO_REQUEST +paramiko.kex_group1.MSG_USERAUTH_INFO_REQUEST +paramiko.packet.MSG_USERAUTH_INFO_REQUEST +paramiko.pkey.MSG_USERAUTH_INFO_REQUEST +paramiko.rsakey.MSG_USERAUTH_INFO_REQUEST +paramiko.server.MSG_USERAUTH_INFO_REQUEST +paramiko.sftp.MSG_USERAUTH_INFO_REQUEST +paramiko.sftp_attr.MSG_USERAUTH_INFO_REQUEST +paramiko.sftp_client.MSG_USERAUTH_INFO_REQUEST +paramiko.sftp_file.MSG_USERAUTH_INFO_REQUEST +paramiko.sftp_handle.MSG_USERAUTH_INFO_REQUEST +paramiko.sftp_server.MSG_USERAUTH_INFO_REQUEST +paramiko.sftp_si.MSG_USERAUTH_INFO_REQUEST +paramiko.transport.MSG_USERAUTH_INFO_REQUEST +paramiko.util.MSG_USERAUTH_INFO_REQUEST" class="py-name" href="#" onclick="return doclink('link-247', 'MSG_USERAUTH_INFO_REQUEST', 'link-129');">MSG_USERAUTH_INFO_REQUEST</a></tt><tt class="py-op">:</tt> <tt class="py-name">_parse_userauth_info_request</tt><tt class="py-op">,</tt> </tt> +<a name="L424"></a><tt class="py-lineno">424</tt> <tt class="py-line"> <tt id="link-248" class="py-name"><a title="paramiko.auth_handler.MSG_USERAUTH_INFO_RESPONSE +paramiko.channel.MSG_USERAUTH_INFO_RESPONSE +paramiko.client.MSG_USERAUTH_INFO_RESPONSE +paramiko.common.MSG_USERAUTH_INFO_RESPONSE +paramiko.dsskey.MSG_USERAUTH_INFO_RESPONSE +paramiko.hostkeys.MSG_USERAUTH_INFO_RESPONSE +paramiko.kex_gex.MSG_USERAUTH_INFO_RESPONSE +paramiko.kex_group1.MSG_USERAUTH_INFO_RESPONSE +paramiko.packet.MSG_USERAUTH_INFO_RESPONSE +paramiko.pkey.MSG_USERAUTH_INFO_RESPONSE +paramiko.rsakey.MSG_USERAUTH_INFO_RESPONSE +paramiko.server.MSG_USERAUTH_INFO_RESPONSE +paramiko.sftp.MSG_USERAUTH_INFO_RESPONSE +paramiko.sftp_attr.MSG_USERAUTH_INFO_RESPONSE +paramiko.sftp_client.MSG_USERAUTH_INFO_RESPONSE +paramiko.sftp_file.MSG_USERAUTH_INFO_RESPONSE +paramiko.sftp_handle.MSG_USERAUTH_INFO_RESPONSE +paramiko.sftp_server.MSG_USERAUTH_INFO_RESPONSE +paramiko.sftp_si.MSG_USERAUTH_INFO_RESPONSE +paramiko.transport.MSG_USERAUTH_INFO_RESPONSE +paramiko.util.MSG_USERAUTH_INFO_RESPONSE" class="py-name" href="#" onclick="return doclink('link-248', 'MSG_USERAUTH_INFO_RESPONSE', 'link-230');">MSG_USERAUTH_INFO_RESPONSE</a></tt><tt class="py-op">:</tt> <tt class="py-name">_parse_userauth_info_response</tt><tt class="py-op">,</tt> </tt> +<a name="L425"></a><tt class="py-lineno">425</tt> <tt class="py-line"> <tt class="py-op">}</tt> </tt> +</div><a name="L426"></a><tt class="py-lineno">426</tt> <tt class="py-line"> </tt><script type="text/javascript"> +<!-- +expandto(location.href); +// --> +</script> +</pre> +<br /> +<!-- ==================== NAVIGATION BAR ==================== --> +<table class="navbar" border="0" width="100%" cellpadding="0" + bgcolor="#a0c0ff" cellspacing="0"> + <tr valign="middle"> + <!-- Home link --> + <th> <a + href="paramiko-module.html">Home</a> </th> + + <!-- Tree link --> + <th> <a + href="module-tree.html">Trees</a> </th> + + <!-- Index link --> + <th> <a + href="identifier-index.html">Indices</a> </th> + + <!-- Help link --> + <th> <a + href="help.html">Help</a> </th> + + <th class="navbar" width="100%"></th> + </tr> +</table> +<table border="0" cellpadding="0" cellspacing="0" width="100%%"> + <tr> + <td align="left" class="footer"> + Generated by Epydoc 3.0.1 on Sun Jul 6 18:30:36 2008 + </td> + <td align="right" class="footer"> + <a target="mainFrame" href="http://epydoc.sourceforge.net" + >http://epydoc.sourceforge.net</a> + </td> + </tr> +</table> + +<script type="text/javascript"> + <!-- + // Private objects are initially displayed (because if + // javascript is turned off then we want them to be + // visible); but by default, we want to hide them. So hide + // them unless we have a cookie that says to show them. + checkCookie(); + // --> +</script> +</body> +</html> |