<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>turgenev</author_name>
  <author_url>https://blog.hatena.ne.jp/turgenev/</author_url>
  <blog_title>turgenev’s blog</blog_title>
  <blog_url>https://turgenev.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>VS Code Remote SSHでは、統合ターミナル内で「code」というコマンドが使用でき、「code .」「code /path/to/file」のようにするとディレクトリやファイルをVS Codeで開くことができます。ファイルなら既存ウインドウで開いてくれたりと、良い感じに判定してくれます。 この便利なcodeコマンドと同等のものを、VS Code Remote SSHの統合ターミナルではなく、普通にSSHしたシェルの中でも使えるようにしよう、というのがこの記事の趣旨です。 codeコマンドの仕組み 前提として、このcodeコマンドがだいたいどんな仕組みで動いているか見ておきましょう…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fturgenev.hatenablog.com%2Fentry%2F2026%2F02%2F20%2F103831&quot; title=&quot;普通のSSHから&amp;quot;code&amp;quot;コマンドでVS Code Remote SSHを起動する方法 - turgenev’s blog&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2026-02-20 10:38:31</published>
  <title>普通のSSHから&quot;code&quot;コマンドでVS Code Remote SSHを起動する方法</title>
  <type>rich</type>
  <url>https://turgenev.hatenablog.com/entry/2026/02/20/103831</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
