VSCode Remote-SSH (Windows)

1. VSCode 安装

VSCode

2. 安装扩展 Remote SSH


Getting started

Follow the step-by-step tutorial or if you have a simple SSH host setup, connect to it as follows:

  1. Press F1 and run the Remote-SSH: Open SSH Host... command.
  2. Enter your user and host/IP in the following format in the input box that appears and press enter: user@host-or-ip or user@domain@host-or-ip
  3. If prompted, enter your password (but we suggest setting up key based authentication).
  4. After you are connected, use File > Open Folder to open a folder on the host.

远程资源管理器

3. 使用

配置 config 文件

回车

输入服务器信息, 保存

Host:机器名称

HostName:IP 地址

User:用户名

保存后会生成一个以 Host:机器名称命名的 remote


连接

选择操作系统

输入密码

连接成功!

相关推荐
罗政6 小时前
冒险岛079 V8 整合版源码搭建教程+IDEA启动
java·ide·intellij-idea
艾斯比的日常8 小时前
VSCode 实用快捷键
ide·vscode·编辑器
Galaxy_12298 小时前
vscode远程报错:Remote host key has changed,...
ide·vscode·编辑器
彬sir哥8 小时前
VScode运行后出现黑窗口
vscode·运行·黑窗口
Hi~晴天大圣13 小时前
Pycharm中断点使用技巧
ide·python·pycharm
且随疾风前行.14 小时前
Android Studio 提示 !Failed to initialize editor
android·ide·android studio
比牛顿更懂PID15 小时前
VSCode本地python包“无法解析导入”
ide·vscode·python
qxyywy17 小时前
CUDA 安装 一直卡在Installing Nsight Visual Studio Edition
ide·visual studio·cuda
前端郭德纲18 小时前
vscode默认终端怎么设置成git bash
git·vscode·bash
全息数据20 小时前
vscode通过ssh连接服务器实现免密登录+删除
服务器·vscode·ssh