kex_exchange_identification: read: Connection reset by peer Connection reset by 192.168.xx.xxx port 2222 在网上搜了很久,后面猜想是两个端口冲突了,因为我使用了windows的2222端口去转发wsl的2222端口,但它们又是共用一套端口,这等于是自己转发自己,因此更改windows的2222端口为其它端口,例如2200端口,发现就可以...
PS C:\WINDOWS\system32> ssh tylerjaacks@localhost -p 2222 Expected Behavior SSH connection is successful Actual Behavior ssh: connect to host 172.21.14.97 port 2222: Connection refused ssh: connect to host localhost port 2222: Connection refused EDIT: I have a new error of kex_exchange_identif...
debug1: Local version string SSH-2.0-OpenSSH_8.2p1 Ubuntu-4ubuntu0.1 kex_exchange_identification: Connection closed by remote host (base) est@~ $ sudo service ssh status lxcore-logs.zip Expected behavior I should be able to ssh into this machine Actual behavior SSH doesn't workCollaborator...
当重新启动时,WSL会选择不同的IP,使您的端口转发设置无效,因为数据包将被转发到系统上不再存在的旧...