Skip to content

实验 0:上手 Linux 开发环境

SSH

image-20230920222245811

Command commands

image-20230920222558197

SFTP

配置文件

备查:https://github.com/Natizyskunk/vscode-sftp/wiki/Configuration

./.vscode/sftp.json
{
    "name": "CSE-CS102",
    "host": "106.14.165.94",
    "protocol": "sftp",
    "port": 22,
    "username": "boaw",
    "remotePath": "/home/boaw/cs102/labs/lab0/starter-proj",
    "uploadOnSave": true,
    "useTempFile": true,
    "openSsh": true
}

Common commands

备查:https://github.com/Natizyskunk/vscode-sftp/wiki/Commands

image-20230920221429143

  • SFTP: Config
  • SFTP: Sync Local -> Remote
  • SFTP: Sync Remote -> Local