VsCodeのリモート接続を復活させる

  1. vscodeを起動させる Launch vscode

  2. リモート接続が失敗した場合は下記でリモート接続を終了する If the remote connection fails, terminate the remote connection as follows

    Untitled

  3. 設定を開く Open the settings

    Untitled

  4. 検索キーワードに「update.mode」をいれて、「none」をクリックする Enter "update.mode" into the search keyword and click "none".

    Untitled

  5. 「再起動」ボタンをクリックする Click the "Restart" button

    Untitled

  6. 一度、全てのVsCodeを終了する Once, close all vscode

  7. 下記から古いVsCodeをダウンロードする Download the old VsCode from the following link: https://code.visualstudio.com/updates/v1_85

    Untitled

  8. ウィザードを進めて「完了」をクリック Proceed with the wizard and click "Done"

    Untitled

  9. 起動したvscodeでリモート接続を実施すると下記ダイアログが表示されるので「インストールして再度読み込み」をクリック When a remote connection is made with the started vscode, the following dialog is displayed, so click "Install and reload"

    Untitled

  10. 無事に接続できます! You can successfully connect!

11.ホスト接続が出ない場合  VScodeのバージョンアップに伴い、拡張機能のRemote -SSHもバージョンアップされてしまうようです。Remote -SSHの再インストールをしましょう。

11-1.拡張機能一覧からRemote-SSHを確認する。  11-2.赤い×が付き、対応外となっているはずなので、アンインストールする。  11-3.再インストールする。

拡張機能.png