<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hitode909</author_name>
  <author_url>https://blog.hatena.ne.jp/hitode909/</author_url>
  <blog_title>hitode909の日記</blog_title>
  <blog_url>https://blog.sushi.money/</blog_url>
  <categories>
    <anon>Ruby</anon>
  </categories>
  <description>実験室の端末のどれかにログインしたかったのだけど、どれが電源入ってるか分からなくて、困ったので、指定した範囲のホストに順にログインを試みるスクリプトを作った。 % ruby ssh.rb yamada 192.168.0. 1 40&quot; すると、ssh yamada@192.168.0.1からssh yamada@192.168.0.40まで、順にアクセスして、ログインを試みる。 どれかにログインできれば終了する。 まずpingを送って、返ってきたらsshでつなごうとするので、少しサーバーに優しい(はず)。 ポイント pingを１回、タイムアウトを１秒で試みるのだけど、MacとLinuxでオプシ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.sushi.money%2Fentry%2F20080722%2F1216709605&quot; title=&quot;指定した範囲のホストのどれかにログインするスクリプト - hitode909の日記&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>2008-07-22 15:53:25</published>
  <title>指定した範囲のホストのどれかにログインするスクリプト</title>
  <type>rich</type>
  <url>https://blog.sushi.money/entry/20080722/1216709605</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
