title: How to transfer a file to ssh server in an ssh-connection made by paramiko?
body: <p>I am using Python's paramiko packet to keep an ssh-connection with an server :</p>
  
  <pre><code>s = paramiko.SSHClient()
  s.set_missing_host_key_policy(paramiko.AutoAddPolicy())
  s.connect("xxx.xxx.xxx.xxx",22,username=xxx,password='',timeout=4)
  </code></pre>
  
  <p>I want to use this ssh-connection to transfer a file to ssh server, how can i do? </p>
  
  <p>Just like use 
  <code>scp a-file xxx@xxx.xxx.xxx.xxx:filepath</code> 
  command?</p>