<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ryousanngata</author_name>
  <author_url>https://blog.hatena.ne.jp/ryousanngata/</author_url>
  <blog_title>日々量産</blog_title>
  <blog_url>https://ryozi.hatenadiary.jp/</blog_url>
  <categories>
  </categories>
  <description>TL;DR ProxyCommandもいいけど、厄介な事情ならRemoteCommandでもできそうですよという記事。 以下のような場合。 PC: bastion(user:foo) へ繋ぐ bastion(user:foo): bastion(user:bar)にユーザを切り替え bastion(user:bar): vagrant ssh server-1 で繋ぐ また、ポートフォワードで、PCのlocalhost:54321にアクセスすると、server-1のlocalhost:54321につながるようにしたい ~/.ssh/configにはこんな感じに書く。 Host server-1…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fryozi.hatenadiary.jp%2Fentry%2F2020%2F12%2F01%2F225047&quot; title=&quot;SSHのRemoteCommandでも踏み台っぽく扱う - 日々量産&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>2020-12-01 22:50:47</published>
  <title>SSHのRemoteCommandでも踏み台っぽく扱う</title>
  <type>rich</type>
  <url>https://ryozi.hatenadiary.jp/entry/2020/12/01/225047</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
