【VScode】【Remote-SSH】サーバーに突然接続できなくなりました。

実現したいこと

VScodeを使用してサーバー内にあるファイルを直接編集をしたいです。

発生している問題・分からないこと

リモート ホストは、glibc および libstdc++ の VS Code Server の前提条件を満たしていない可能性があります。とログが出力されますが改善策などはありますでしょうか?
Xserverのpublic.htmlなどの編集で突然接続できなくなった要因はわかりません。。。

該当のソースコード

[17:21:36.165] Resolver error: Error: VS Code Server を起動できませんでした at g.ServerInstallError (c:\Users\12900k\.vscode\extensions\ms-vscode-remote.remote-ssh-0.108.0\out\extension.js:2:460179) at d (c:\Users\12900k\.vscode\extensions\ms-vscode-remote.remote-ssh-0.108.0\out\extension.js:2:453522) at t.handleInstallOutput (c:\Users\12900k\.vscode\extensions\ms-vscode-remote.remote-ssh-0.108.0\out\extension.js:2:455792) at t.tryInstall (c:\Users\12900k\.vscode\extensions\ms-vscode-remote.remote-ssh-0.108.0\out\extension.js:2:581100) at async c:\Users\12900k\.vscode\extensions\ms-vscode-remote.remote-ssh-0.108.0\out\extension.js:2:540958 at async t.withShowDetailsEvent (c:\Users\12900k\.vscode\extensions\ms-vscode-remote.remote-ssh-0.108.0\out\extension.js:2:544264) at async k (c:\Users\12900k\.vscode\extensions\ms-vscode-remote.remote-ssh-0.108.0\out\extension.js:2:537923) at async t.resolve (c:\Users\12900k\.vscode\extensions\ms-vscode-remote.remote-ssh-0.108.0\out\extension.js:2:541635) at async c:\Users\12900k\.vscode\extensions\ms-vscode-remote.remote-ssh-0.108.0\out\extension.js:2:807794 [17:21:36.167] ------ [17:21:36.272] > [17:21:37.454] "install" terminal command done [17:21:37.454] User entered passphrase [17:21:37.455] Passphrase was entered and ssh config entry was found - adding SSH key to agent [17:21:37.455] Executing add-ssh-key: powershell -ExecutionPolicy Bypass C:\Users\12900k\AppData\Local\Temp\vscode_add_ssh_key_to_agent.ps1 [17:21:37.456] Terminal shell path: C:\WINDOWS\System32\cmd.exe [17:21:37.456] "add-ssh-key" wrote data to terminal: "powershell -ExecutionPolicy Bypass C:\Users\12900k\AppData\Local\Temp\vscode_add_ssh_key_to_agent.ps1" [17:21:37.831] > Microsoft Windows [Version 10.0.22621.3007] > (c) Microsoft Corporation. All rights reserved.C:\Users\12900k>]0;C:\WINDOWS\System32\cmd.exe [17:21:37.846] > (powershell -ExecutionPolicy Bypass C:\Users\12900k\AppData\Local\Temp\vscode_add_ssh_key_to_agent.ps1) & exit /b 0 > ]0;C:\WINDOWS\System32\cmd.exe - powershell -ExecutionPolicy Bypass C:\Users\12900k\AppData\Local\Temp\vscode_add_ssh_key_to_agent.ps1 [17:21:38.091] > PS: adding key to ssh-agent > ssh-add > C:\Users\12900k\keys\cozyclan.key > Error connecting to agent: No such file or directory > 8c1919424cf0##5## [17:21:38.091] ssh-add failed [17:21:38.091] Consider setting up the ssh agent: https://aka.ms/vscode-remote/troubleshooting#_setting-up-the-ssh-agent [17:21:38.113] > ]0;C:\WINDOWS\System32\cmd.exe [17:21:38.113] ssh-add failed [17:21:38.113] Consider setting up the ssh agent: https://aka.ms/vscode-remote/troubleshooting#_setting-up-the-ssh-agent [17:21:39.368] "add-ssh-key" terminal command done [17:21:39.368] Install terminal quit with output:

試したこと・調べたこと

上記の詳細・結果

PCの再起動・keyの再取得とconfigの再保存、remote-SSH拡張機能のアンインストールなどを行いましたが状況とエラーログは変わらないままでした。
Xサーバー内にあるvscode_serverフォルダを削除して再起動してもダメでした。

補足

特になし

コメントを投稿

0 コメント