VSCode Remote

Tutorial to configure Remote Visual Studio with AI Training

Last updated 23rd February 2021.


This tutorial covers the process of starting a job using a Visual Studio Code Remote via SSH.


The deployed image needs to contain the bash binary and a glibc-based Linux (Ubuntu / Debian)


  1. Install an OpenSSH compatible SSH client if one is not already present.
  2. Install Visual Studio Code.
  3. Install the Remote Development extension pack.

Start a job with the SSH feature

We will launch a job with the CLI, just choose the number of GPUs (<nb-gpus>) to use on your job and use the following command:

ovhai job run --gpu <nb-gpus> -s ~/.ssh/id_ed25519.pub ovhcom/ai-training-tensorflow:2.3.0

Once the job is Running, you can see the sshUrl with job get:

ovhai job get <job-id>

Configure VSCode Remote Development

Verify you can connect to the SSH host by running the following command from a terminal / PowerShell window replacing user\@hostname accordingly:

ssh <job-id>@gra.training.ai.cloud.ovh.net

Welcome to OVHcloud AI Training Jobs SSH

Click on the Remote Explorer Button.


Then click on the + button to add a SSH server.


Then click on the window icon near your server in the list.





Please send us your questions, feedback and suggestions to improve the service:

Did you find this guide useful?

Please feel free to give any suggestions in order to improve this documentation.

Whether your feedback is about images, content, or structure, please share it, so that we can improve it together.

Your support requests will not be processed via this form. To do this, please use the "Create a ticket" form.

Thank you. Your feedback has been received.

These guides might also interest you...

OVHcloud Community

Access your community space. Ask questions, search for information, post content, and interact with other OVHcloud Community members.

Discuss with the OVHcloud community