windows 11安装openSSH server 遇到的"kex_exchange_identification: read: Connection reset"问题

简介: windows 11安装openSSH server 遇到的"kex_exchange_identification: read: Connection reset"问题

使用ssh客户端连接已安装windown11的openSSH SERVER报错如下:
'''
OpenSSH_for_Windows_8.6p1, LibreSSL 3.4.3
debug1: Authenticator provider $SSH_SK_PROVIDER did not resolve; disabling
debug1: Connecting to 192.168.1.5 [192.168.1.5] port 22.
debug1: Connection established.
debug1: identity file C:\Users\Administrator/.ssh/id_rsa type 0
debug1: identity file C:\Users\Administrator/.ssh/id_rsa-cert type -1
debug1: identity file C:\Users\Administrator/.ssh/id_dsa type -1
debug1: identity file C:\Users\Administrator/.ssh/id_dsa-cert type -1
debug1: identity file C:\Users\Administrator/.ssh/id_ecdsa type -1
debug1: identity file C:\Users\Administrator/.ssh/id_ecdsa-cert type -1
debug1: identity file C:\Users\Administrator/.ssh/id_ecdsa_sk type -1
debug1: identity file C:\Users\Administrator/.ssh/id_ecdsa_sk-cert type -1
debug1: identity file C:\Users\Administrator/.ssh/id_ed25519 type -1
debug1: identity file C:\Users\Administrator/.ssh/id_ed25519-cert type -1
debug1: identity file C:\Users\Administrator/.ssh/id_ed25519_sk type -1
debug1: identity file C:\Users\Administrator/.ssh/id_ed25519_sk-cert type -1
debug1: identity file C:\Users\Administrator/.ssh/id_xmss type -1
debug1: identity file C:\Users\Administrator/.ssh/id_xmss-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_for_Windows_8.6
kex_exchange_identification: read: Connection reset
Connection reset by 192.168.110.165 port 22
'''
并且端口已打开:
image.png

通过端口定位程序
最终定位原因是因为vmnat.exe惹祸的。
----很奇怪为啥sshd.exe在service.msc中是可以启动的,并且没有报错。

解决方法:
停止服务VMware NAT Service,然后重启服务sshd。
经验总结:系统开着22端口并不以为着是ssh服务的端口

相关文章
|
27天前
|
安全 数据安全/隐私保护 虚拟化
Windows Server 2022 中文版、英文版下载 (2025 年 10 月更新)
Windows Server 2022 中文版、英文版下载 (2025 年 10 月更新)
356 2
Windows Server 2022 中文版、英文版下载 (2025 年 10 月更新)
|
27天前
|
安全 Unix 物联网
Windows 7 & Windows Server 2008 R2 简体中文版下载 (2025 年 10 月更新)
Windows 7 & Windows Server 2008 R2 简体中文版下载 (2025 年 10 月更新)
177 0
Windows 7 & Windows Server 2008 R2 简体中文版下载 (2025 年 10 月更新)
|
27天前
|
存储 SQL 人工智能
Windows Server 2025 中文版、英文版下载 (2025 年 10 月更新)
Windows Server 2025 中文版、英文版下载 (2025 年 10 月更新)
317 0
|
2月前
|
运维 安全 网络安全
Windows Server 2019拨号“找不到设备”?Error 1058解决指南
Windows Server 2019拨号报错1058?别急!这不是硬件故障,而是关键服务被禁用。通过“服务依存关系”排查,依次启动“安全套接字隧道协议”“远程接入连接管理”和“路由与远程访问”服务,仅需4步即可恢复PPPoE或VPN拨号功能,轻松解决网络中断问题。
239 1
|
2月前
|
人工智能 JavaScript 开发工具
极速上手!Claude Code 原生支持 Windows 免WSL安装教程
Claude Code 现已支持 Windows 原生运行,无需 WSL 配置。本文提供详细安装教程,涵盖 Node.js 环境验证、Git 安装及 Claude Code 配置步骤,助你快速上手这一强大 AI 编程工具。
1257 5
|
2月前
|
存储 虚拟化 Windows
VMware安装Windows10
本案例介绍了在Windows系统上使用VMware Workstation 17.5 Pro安装配置Windows 10虚拟机的详细步骤,包括所需设备、软件下载链接、虚拟机设置及系统安装全过程。
305 133
VMware安装Windows10
|
1月前
|
安全 Ubuntu iOS开发
Nessus Professional 10.10 Auto Installer for Windows - Nessus 自动化安装程序
Nessus Professional 10.10 Auto Installer for Windows - Nessus 自动化安装程序
125 3
Nessus Professional 10.10 Auto Installer for Windows - Nessus 自动化安装程序
|
2月前
|
存储 SQL 人工智能
Windows Server 2025 中文版、英文版下载 (2025 年 9 月更新)
Windows Server 2025 中文版、英文版下载 (2025 年 9 月更新)
954 3
Windows Server 2025 中文版、英文版下载 (2025 年 9 月更新)
|
2月前
|
安全 Unix 物联网
Windows 7 & Windows Server 2008 R2 简体中文版下载 (2025 年 9 月更新)
Windows 7 & Windows Server 2008 R2 简体中文版下载 (2025 年 9 月更新)
302 2
|
2月前
|
安全 Linux iOS开发
SonarQube Server 2025 Release 5 (macOS, Linux, Windows) - 代码质量、安全与静态分析工具
SonarQube Server 2025 Release 5 (macOS, Linux, Windows) - 代码质量、安全与静态分析工具
174 0
SonarQube Server 2025 Release 5 (macOS, Linux, Windows) - 代码质量、安全与静态分析工具