Windows OpenSSH Server 远程登录
在 Windows 10(1809 及以后)和 Windows 11 上,系统自带 OpenSSH Server,安装并启动 sshd 服务后,Linux 或其他机器即可用 ssh 登录本机。 与 win11 ssh agent 的区别: 组件 作用 OpenSSH Client 本机作为客户端,ssh user@host 连别人 OpenSSH Authentication Agent 管理本机私钥(ssh-add) OpenSSH Server 本机作为服务端,让别人 ssh 进来 本文只讲 Server。 安装 OpenSSH Server(英文系统) 方法一:设置里搜索(推荐) 打开 Settings(Win + I) 顶部搜索框输入 optional features,进入 Optional features / Manage optional features 点 View features 或 Add an optional feature 搜索 openssh,勾选 OpenSSH Server,安装 也可从 Settings → Apps → Installed apps → Optional features 进入同一路径。 ...