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


连接

选择操作系统

输入密码

连接成功!

相关推荐
tan180°3 小时前
Linux进程信号处理(26)
linux·c++·vscode·后端·信号处理
sz66cm4 小时前
Linux基础 -- SSH 流式烧录与压缩传输笔记
linux·笔记·ssh
和平宇宙7 小时前
vscode extention踩坑记
ide·vscode·编辑器
江边垂钓者8 小时前
HTTP、HTTPS、SSH区别以及如何使用ssh-keygen生成密钥对
http·https·ssh
yinhezhanshen8 小时前
使用VSCode编辑Markdown+PlantUml
ide·vscode·编辑器
慢一点会很快11 小时前
【Tools】VScode使用CMake构建项目
ide·vscode·编辑器
Mckay8813 小时前
android studio导入项目
android·ide·android studio
心足15 小时前
我喜欢的vscode几个插件和主题
ide·vscode·编辑器
suoxiao77716 小时前
通过anaconda安装jupyter
ide·python·jupyter
程序员阿鹏16 小时前
Git的安装和配置(idea中配置Git)
java·开发语言·ide·git·intellij-idea·idea