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


连接

选择操作系统

输入密码

连接成功!

相关推荐
不是万能的豆学长3 小时前
OpenShell项目引爆GitHub趋势
ssh·github
golang学习记4 小时前
VS Code Agents新特性:标签页式工作区选择器
vscode
1024奇点6 小时前
【仓颉语言入门 · 第二篇 第 15 课】
开发语言·数据库·ide·开源
指剑10 小时前
亚麻云之EC2——安全组与密钥对:SSH 端口怎么开才安全,Permission denied (publickey) 和连接超时排查
java·安全·ssh
风别鹤1 天前
Xcode pod ‘xxx/xxx.h‘ file not found
ide·macos·xcode
杜哥无敌1 天前
连接服务器干活的终端 / SSH 客户端工具大 PK
ssh·1024程序员节·云主机
golang学习记1 天前
VS Code Agents 新快捷键:一键穿梭主编辑器与Agent窗口
vscode·编辑器
Linux_cy2 天前
服务器管理工具哪个好用?我用了七八个
运维·服务器·javascript·python·ssh·面板·gmssh
网络小江2 天前
组网第21课:初登交换机——管理平面三板斧
平面·ssh·console·华为交换机
帷幕落秋2 天前
SSH远程管理服务
运维·ssh