title: Paramiko: "FutureWarning: CTR mode needs counter parameter"
body: <p>I am trying to use Paramiko in Python2 for transferring files through SFTP with a private SSH key but it displays this warning:</p>
  
  <pre><code>/usr/lib/python2.7/dist-packages/Crypto/Cipher/blockalgo.py:141: 
  FutureWarning: CTR mode needs counter parameter, not IV   self._cipher = factory.new(key, *args, **kwargs)
  </code></pre>
  
  <p>In fact it sends the file to the server but can someone explain me what this warning means?</p>
  
  <p>Here is my code:</p>
  
  <pre><code>t = paramiko.Transport((host, port))
  key = paramiko.RSAKey.from_private_key_file("/path/to/key.ssh") 
  t.connect(username="username",password=None, pkey=key)
  
  sftp = paramiko.SFTPClient.from_transport(t)
  sftp.put(source, destination)
  
  sftp.close()
  t.close()
  </code></pre>