AGX更新Jetpack后无法SSH报错:写入管道指定不存在

2024-01-09 22:43:12

AGX更新Jetpack后无法SSH报错:写入管道指定不存在

报错内容

> 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:kG6xWcU/CWPS+yJeJ6kuQfYycHS4hKBYBKIICfRj9B0.
> Please contact your system administrator.
> Add correct host key in C:\\Users\\23766/.ssh/known_hosts to get rid of this message.
> Offending ED25519 key in C:\\Users\\23766/.ssh/known_hosts:28
> Host key for 192.168.123.219 has changed and you have requested strict checking.
> Host key verification failed.
> 过程试图写入的管道不存在。
> ]0;C:\Windows\System32\cmd.exe
[21:08:29.234] Got some output, clearing connection timeout
[21:08:30.499] "install" terminal command done
[21:08:30.499] Install terminal quit with output: ]0;C:\Windows\System32\cmd.exe
[21:08:30.499] Received install output: ]0;C:\Windows\System32\cmd.exe
[21:08:30.499] Failed to parse remote port from server output
[21:08:30.500] Resolver error: Error: 
	at g.Create (c:\Users\23766\.vscode\extensions\ms-vscode-remote.remote-ssh-0.107.1\out\extension.js:2:642703)
	at t.handleInstallOutput (c:\Users\23766\.vscode\extensions\ms-vscode-remote.remote-ssh-0.107.1\out\extension.js:2:640069)
	at t.tryInstall (c:\Users\23766\.vscode\extensions\ms-vscode-remote.remote-ssh-0.107.1\out\extension.js:2:761983)
	at async c:\Users\23766\.vscode\extensions\ms-vscode-remote.remote-ssh-0.107.1\out\extension.js:2:722522
	at async t.withShowDetailsEvent (c:\Users\23766\.vscode\extensions\ms-vscode-remote.remote-ssh-0.107.1\out\extension.js:2:725828)
	at async I (c:\Users\23766\.vscode\extensions\ms-vscode-remote.remote-ssh-0.107.1\out\extension.js:2:719493)
	at async t.resolve (c:\Users\23766\.vscode\extensions\ms-vscode-remote.remote-ssh-0.107.1\out\extension.js:2:723199)
	at async c:\Users\23766\.vscode\extensions\ms-vscode-remote.remote-ssh-0.107.1\out\extension.js:2:907003
[21:08:30.502] ------




[21:08:30.658] Opening exec server for ssh-remote+7b22686f73744e616d65223a226a6574736f6e4147585f776966695f31313133227d
[21:08:30.660] Initizing new exec server for ssh-remote+7b22686f73744e616d65223a226a6574736f6e4147585f776966

解决方法找到

你的电脑里的C:\Users\{你的用户名}/.ssh/known_hosts文件,然后用记事本打开,找到你的设备的IP地址和其后面连着的那一串密钥,将他们删掉就好了。

原因分析

我的设备更新了新的Jetpack,换了新的系统镜像,所以密钥也换了,但是ssh到设备的电脑里的密钥还保存的是以前的,它们对不上就会报错。

文章来源:https://blog.csdn.net/weixin_43111445/article/details/135489981
本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。