title: How to Connect EC2 Instance with VSCode Directly using pem file in SFTP
body: <p>I'm trying to connect EC2 Instance directly from VS Code using SFTP. I can able to connect other ftp service using [password] type, but for EC2 instance i'm having only .pem file.
  Expecting something like this but using public key .pem file </p>
  
  <pre><code>{
  "protocol": "sftp",
  "host": "localhost",
  "port": 22,
  "username": "username",
  "remotePath": "/"
  }
  </code></pre>