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


连接

选择操作系统

输入密码

连接成功!

相关推荐
七维大脑9 分钟前
【开源自荐】7Shell:跨平台 SSH 运维客户端,把终端、SFTP、容器和 K8s 放进一个窗口
ssh·运维工具·开源工具·开源ssh
布莱克6051 小时前
Swift 字符串详解:从基础用法到性能与最佳实践
服务器·开发语言·ssh·字符串·swift
布莱克6051 天前
Swift 条件语句详解:从 if 到 switch 的完整指南
开发语言·ssh·swift·switch·条件语句·guard·if
2601_967980111 天前
世界上最好的Python编辑器是什么?我投PyCharm一票
ide·python·pycharm·数据科学·jupyter notebook
程序开发阿元3 天前
密码不进工具:一个独立开发者的服务器凭据管理办法
linux·ssh
布莱克6053 天前
Swift 常量详解:从 let 到编译期优化
服务器·开发语言·ssh·swift·常量·let
布莱克6053 天前
Swift 可选类型(Optionals)详解:从原理到实战
开发语言·安全·ssh·swift·optional·可选类型
时间售卖铺3 天前
Chrony与SSH实战:精准时间同步与安全远程登录
运维·安全·云原生·ssh
拼图2093 天前
VSCode 正则表达式使用指南
ide·vscode·正则表达式
#六脉神剑4 天前
myBuilder 11 月新版本:AI辅助设计
ide·人工智能·低代码·ai·mybuilder