配置好了ssh,仍然无法从本地连接服务器,可能是没有清理known_hosts文件,打开C:\Users\13099\.ssh 把known_hosts中的相关行删除即可

用户在尝试使用VSCode的远程SSH扩展连接到IP地址为8.142.124.20的服务器时,遇到了远程主机身份验证改变的警告。系统提示可能存在的中间人攻击风险,并建议用户检查和更新主机密钥指纹,以确保连接的安全性。扩展安装过程完成后,出现了解析远程端口失败和错误,影响了正常连接。
摘要由CSDN通过智能技术生成

[19:10:15.553] Running script with connection command: “C:\Windows\System32\OpenSSH\ssh.exe” -T -D 50822 “8.142.124.20” bash
[19:10:15.555] Terminal shell path: C:\Windows\System32\cmd.exe
[19:10:15.904] > @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that a host key has just been changed.
The fingerprint for the ED25519 key sent by the remote host is
SHA256:Q1EYRfFosql99Ej64xa5eFiJK2XwNVdzCu712IjEqb4.
Please contact your system administrator.
Add correct host key in C:\Users\13099/.ssh/known_hosts to get rid of this message.
Offending ECDSA key in C:\Users\13099/.ssh/known_hosts:8
Host key for 8.142.124.20 has changed and you have requested strict checking.
Host key verification failed.
过程试图写入的管道不存在。
]0;C:\Windows\System32\cmd.exe
[19:10:15.905] Got some output, clearing connection timeout
[19:10:17.176] “install” terminal command done
[19:10:17.177] Install terminal quit with output: ]0;C:\Windows\System32\cmd.exe
[19:10:17.177] Received install output: ]0;C:\Windows\System32\cmd.exe
[19:10:17.179] Failed to parse remote port from server output
[19:10:17.182] Resolver error: Error:
at m.Create (c:\Users\13099.vscode\extensions\ms-vscode-remote.remote-ssh-0.102.0\out\extension.js:1:584145)
at t.handleInstallOutput (c:\Users\13099.vscode\extensions\ms-vscode-remote.remote-ssh-0.102.0\out\extension.js:1:582705)
at t.tryInstall (c:\Users\13099.vscode\extensions\ms-vscode-remote.remote-ssh-0.102.0\out\extension.js:1:681881)
at async c:\Users\13099.vscode\extensions\ms-vscode-remote.remote-ssh-0.102.0\out\extension.js:1:644110
at async t.withShowDetailsEvent (c:\Users\13099.vscode\extensions\ms-vscode-remote.remote-ssh-0.102.0\out\extension.js:1:647428)
at async t.resolve (c:\Users\13099.vscode\extensions\ms-vscode-remote.remote-ssh-0.102.0\out\extension.js:1:645160)
at async c:\Users\13099.vscode\extensions\ms-vscode-remote.remote-ssh-0.102.0\out\extension.js:1:720916
[19:10:17.187] ------

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值