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服务的端口

相关文章
|
12天前
|
Windows
Windows操作系统部署安装Kerberos客户端
详细介绍了在Windows操作系统上部署安装Kerberos客户端的完整过程,包括下载安装包、安装步骤、自定义安装路径、修改环境变量、配置hosts文件和Kerberos配置文件,以及安装后的验证步骤。
27 3
Windows操作系统部署安装Kerberos客户端
|
4天前
|
SQL JavaScript 数据库
sqlite在Windows环境下安装、使用、node.js连接
sqlite在Windows环境下安装、使用、node.js连接
|
17天前
|
API Docker Windows
2024 Ollama 一站式解决在Windows系统安装、使用、定制服务与实战案例
这篇文章是一份关于Ollama工具的一站式使用指南,涵盖了在Windows系统上安装、使用和定制服务,以及实战案例。
2024 Ollama 一站式解决在Windows系统安装、使用、定制服务与实战案例
|
21天前
|
PHP Windows
【Azure App Service for Windows】 PHP应用出现500 : The page cannot be displayed because an internal server error has occurred. 错误
【Azure App Service for Windows】 PHP应用出现500 : The page cannot be displayed because an internal server error has occurred. 错误
|
1月前
|
开发框架 .NET API
Windows Server 2022 安装IIS 报错 访问临时文件夹 C:\WINDOWS\TEMP\3C 读取/写入权限 错误: 0x80070005
Windows Server 2022 安装IIS 报错 访问临时文件夹 C:\WINDOWS\TEMP\3C 读取/写入权限 错误: 0x80070005
64 0
|
1月前
|
Linux Docker Windows
Windows——Docker拉取Windows Server镜像
Windows——Docker拉取Windows Server镜像
99 0
|
2月前
|
弹性计算 持续交付 Docker
阿里云云效产品使用合集之如何部署到阿里云服务器上的 Windows Server 上的 IIS
云效作为一款全面覆盖研发全生命周期管理的云端效能平台,致力于帮助企业实现高效协同、敏捷研发和持续交付。本合集收集整理了用户在使用云效过程中遇到的常见问题,问题涉及项目创建与管理、需求规划与迭代、代码托管与版本控制、自动化测试、持续集成与发布等方面。
|
2月前
|
网络协议 Unix 网络安全
FTP服务器怎么搭建?Windows server搭建FPT服务器
FTP服务器是按照FTP协议提供文件传输服务的计算机。它用于在两台计算机间安全地传输文件,支持用户权限管理和跨平台操作。FTP使用控制连接处理命令,数据连接传输文件,有PORT和PASV模式。要搭建FTP服务器,首先在Windows Server 2008 R2上安装IIS,确保选中FTP服务。接着,创建FTP文件夹作为站点根目录,通过IIS管理器添加FTP站点,配置站点信息、身份验证和权限。测试客户端通过telnet和浏览器访问FTP服务器,确认能成功登录及浏览文件。FTP常用于文件共享和管理,可通过专用工具如FlashFXP上传下载文件。
105 0
FTP服务器怎么搭建?Windows server搭建FPT服务器
|
3月前
|
编解码 安全 网络安全
RealVNC的 VNC server在windows7系统下无法正确运行
在Windows 7上运行旧版VNC Server(如4.1.2)可能存在兼容性问题,但可通过调整配置解决。步骤包括:安装VNC Server,设置兼容性模式(选择Windows XP SP3),启动VNC Server,配置VNC连接参数。若遇到问题,检查防火墙设置,确保系统更新,并考虑升级到新版VNC Server以提高性能和兼容性。
|
2月前
|
前端开发 JavaScript 应用服务中间件
windows server + iis 部署若伊前端vue项目
5,配置url重写规则(重写后端请求) 注:如果没有Application Request Routing Cachefourcloudbdueclaim和URL重写,则是第二部的那两个插件没装上 打开iis,点击计算机->点击Application Request Routing Cache -> 打开功能
163 0