Shunya UETA

Software Engineer As Data Scientist

How to connect the Google Compute Engine via Visual Studio Code

Posted at — Sep 24, 2019

1. Generate SSH config file using gcloud command line

gcloud compute config-ssh

You cant get ssh config for your Google Compute Engine project!

Notice: you need choose target GCP project before run below command.

gcloud config set project <your-project-id>

2. Install Remote SSH extention in Visual Studio Code.

3. Press ⇧⌘P & Select target connection in Visual Studio Code!

comments powered by Disqus