title: paramiko no existing session exception
body: <p>Using the python interactive shell and openssh running locally, I keep getting an "No existing session" exception using paramiko. My code is below.</p>
  
  <pre><code>import paramiko
  ssh = paramiko.SSHClient()
  ssh.set_missing_host_key_policy(paramiko.AutoAddPolicy())
  ssh.connect('localhost',username=name,password=pw)
  </code></pre>
  
  <p>Results in:</p>
  
  <pre><code>No handlers could be found for logger "paramiko.transport"
  Traceback (most recent call last):
    File "&lt;stdin&gt;", line 1, in &lt;module&gt;
    File "/usr/local/lib/python2.6/dist-packages/paramiko-1.7.7.1-py2.6.egg/paramiko/client.py", line 332, in connect
      self._auth(username, password, pkey, key_filenames, allow_agent, look_for_keys)
    File "/usr/local/lib/python2.6/dist-packages/paramiko-1.7.7.1-py2.6.egg/paramiko/client.py", line 493, in _auth
      raise saved_exception
  paramiko.SSHException: No existing session
  </code></pre>
  
  <p>I was able to connect previously, but had been trying to adjust this to allow for key based authorization. That failed, and since then I have not been able to connect locally. I have tried restarting openssh, and have connected to another server successfully. After searching through here, all I have found are mentions of authorization exceptions, which does not appear to be the case here.</p>