title: Convert .ppk file to openSSH .pem using Python
body: <p>I want to grab an AWS instance's .ppk key (doable) and convert it on the fly using Python in .pem openSSH file.</p>
  
  <p>I want to do it automatically without puttyGEN. </p>
  
  <p>I have found this code snippet,
  <a href="http://www.example-code.com/python/ssh_ppk_to_pem.asp" rel="nofollow">http://www.example-code.com/python/ssh_ppk_to_pem.asp</a>   but I am not sure if it is a good idea to use the -chilkat- library .</p>
  
  <p>Can this conversion be done with the standard Python library or one that can be installed with pip ?</p>
  
  <p>Any code example is welcome but if I am pointed in the right direction I can take it on myself.</p>