Best way to do file transfer via SCP using python and a .pem file
<p>I wanna to replicate that command in python:</p>

<pre><code>scp -i aKey.pem aFile.txt ec2-user@serverIp:folder
</code></pre>

<p>I found some examples of SCP but didn't found neither using a .pem key, and without informing the user password. How can I make this in python?</p>