WebCal
Ctrl K

指南

Remote Development with VSCode

指南整合常見問題支援
定價部落格
快速開始Top-Up and BillingAccelerating Access to Academic ResourcesQuick StartIntroductionMaintenance and TroubleshootingNetwork
平台資訊JetBrain ProjectorTmpWebCal Scholars Program @2026Introduction to the Public Beta/Suqian Zone AAbout UsCopying Data Between InstancesAnalysis of Server Performance MetricsTidal Computing PowerLoad Balancing
國產晶片Using Huawei MindIEHuawei Ascend NPUMooreThread GPU
環境設定CUDA/cuDNNMinicondaPython3.XInstalling DependenciesOverviewImages
企業進階功能Flexible DeploymentElastic Deployment Release NotesBest Practices for Elastic DeploymentPerformance Metrics Monitoring
容器實例JupyterLabRemote SSH ConnectionSave the imageScaling ConfigurationMulti-machine, multi-GPU parallel processingDaemonOverviewChange the billing methodMigration Example (Same Region)Migration ExamplesRemote DesktopReset the system
如何選擇 GPUGPU SelectionPerformance Testing
資料Upload DataDownload DataPublic DataPublic Cloud Storage (Highly Recommended)Compression / DecompressionFile StorageLocal data diskOverview
最佳實務FileZillaGitGromacsHuggingFaceKataGoLinux BasicsMPIOpenCLPyCharm Remote DevelopmentR (RStudio) InstallationSSH TunnelTensorBoardRemote Development with VSCodeVisdomVulkanXShellOpen PortsWeChat MessagesPerformanceExpose multiple servicesMoney-Saving TipsComputation Precision IssuesSoftware Sources

最佳實務

Remote Development with VSCode

2026/07/3090103 次瀏覽

Warning: If you run the training program directly in VS Code or in a terminal, be sure to start a daemon process using screen or tmux after debugging is complete (see the documentation: Daemon Process) to ensure the program’s execution is not affected by interruptions in the SSH connection!

Official documentation: Click here

How to use WebCal:

Before proceeding, you’ll need to install VSCode in advance. You’ll also need to:

  • Rent and power on an instance on WebCal, and obtain the instance’s SSH login credentials (login command and password)
  • Install the VSCode Remote Development extension locally (requires configuring Remote-SSH)

1. Log in to WebCal and select an instance to power on

Retrieve SSH login credentials

image-20210916195423472

2. Configuring Remote-SSH in VSCode Locally

If Remote-SSH is already installed in your local VS Code development environment, you can skip this step and proceed directly to [Step 3]

Open the Extensions menu in your local VS Code, search for "Remote-SSH" in the Extensions section, and install it.

image-20210916200211959

3. Connect via SSH and log in to your remotely rented instance

Follow the on-screen prompts to complete the process of adding an SSH host.

image-20210916200538203

image-20210916200742778

Retrieve and copy your instance's SSH login credentials

The illustration uses ssh -p 38909 root@region-1.webcal.com as an example. Press Enter to continue. Note: If there is a space at the end of this SSH command, please remove it; otherwise, you may be unable to log in.

image-20210916201832127

After pressing Enter, a dialog box will appear prompting you to select a custom SSH configuration file; you do not need to make a selection—simply press Enter. Shortly thereafter, a dialog box may appear asking you to select a remote server from among Windows, Linux, and Mac. Please select Linux.

image-20220120120528330

image-20210916202041401

Enter your password and wait for the SSH login to complete.

image-20210916202253038

4. Select Your Code Directory

The sample code has been uploaded to the / directory on the instance. If you have not yet uploaded your resources, you can refer to the SCP Remote File Copy or JupyterLab sections to upload your code.

image-20210916202626025

Recommendation: When developing code in VS Code, you can configure the appropriate interpreter based on the programming language you are using.

下一篇Visdom
WebCal文件返回指南