<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>iwiwi</author_name>
  <author_url>https://blog.hatena.ne.jp/iwiwi/</author_url>
  <blog_title>iwiwi 備忘録</blog_title>
  <blog_url>https://iwiwi.hatenadiary.jp/</blog_url>
  <categories>
  </categories>
  <description>状況 マシン A に ssh したい でも，マシン A はネットワークの内側にあって，外から ssh できない マシン B は外から ssh できる マシン B からマシン A に ssh できない マシン A からマシン B に ssh できる 解決法 マシン A の crontab に以下を書いておく @reboot /usr/bin/autossh -f -N -i -R 10022:localhost: これで，マシン B で以下を打てばマシン A に入れる． ssh -p 10022 localhost 注意 ssh で使う鍵にパスフレーズがかかってると当然ながら失敗する．パスフレー…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fiwiwi.hatenadiary.jp%2Fentry%2F2016%2F03%2F22%2F171013&quot; title=&quot;リバーストンネル + autossh で ssh 開通 - iwiwi 備忘録&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>2016-03-22 17:10:13</published>
  <title>リバーストンネル + autossh で ssh 開通</title>
  <type>rich</type>
  <url>https://iwiwi.hatenadiary.jp/entry/2016/03/22/171013</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
