This page explains how to download Visual Studio Code, install the extension needed for remote work, and then connect to a CBP machine through the ENS de Lyon SSH server.
Remote - SSH.This extension allows VS Code to open a working session directly on a remote machine via SSH.
VS Code uses your local SSH configuration. You therefore need to fill in the OpenSSH config file.
/Users/YourName/.ssh/config.
C:\Users\YourName\.ssh\config.
SSH.Then, fill the file. The content may look like this if you use anchiale10:
Host ens-lyon
HostName ssh.ens-lyon.fr
User username
Host anchiale10
HostName anchiale10.cbp.ens-lyon.fr
User username
ProxyJump ens-lyon
Here, ens-lyon refers to the ENS SSH gateway, and anchiale10 is the final machine to reach.
The line ProxyJump ens-lyon means that the connection first goes through ssh.ens-lyon.fr.
Once connected, you can open a folder located on the remote machine with File > Open Folder. You then work directly on the server files without needing to copy them locally.