title: config a cisco router through paramiko
body: <p>I'm trying to config a cisco router through paramiko.
  First I ssh to router and then run commands. But when I connect to router I can not go to configuer mode.
  I mean the router connect in user mode and running the  <code>en</code>  or <code>conf t</code> do not work!</p>
  
  <pre><code>conn = paramiko.SSHClient()
  conn.set_missing_host_key_policy(paramiko.AutoAddPolicy())
  conn.connect("20.0.0.1", 22, "cisco", "123")
  stdin, stdout, stderr = conn.exec_command('show ip int br')
  status = stdout.channel.exit_status_ready()
  if status==0:
   mystring = stdout.read()
   print mystring
  </code></pre>
  
  <p>The status is 0, but mystring is an empty string.(result is:[])</p>
  
  <p>I'm on Fedora 20.</p>
  
  <p>Thanks</p>