I am trying to edit files stored on my AWS EC2 server over SSH using Visual Studio Code. I have configured the connection as follows:
Host MyServer
HostName <IP of my server>
User bitnami
IdentityFile "C:\Users\okonvick\.ssh\mykey.pem"
The user bitnami
, however, does not have access to all the files I need to edit, and when in terminal, I need to use sudo
to access them. However, I am at a loss finding out how to do it here. Is there any way to configure VS Code or the connection so that it elevates priveleges to access the files?