<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>masasuz</author_name>
  <author_url>https://blog.hatena.ne.jp/masasuz/</author_url>
  <blog_title>目の前に僕らの道がある</blog_title>
  <blog_url>https://masasuzu.hatenablog.jp/</blog_url>
  <categories>
    <anon>ssh</anon>
    <anon>linux</anon>
  </categories>
  <description>接続するホストによって違う鍵を使ったり、ポートを変えたりする時にわざわざコマンドラインでオプションを毎回書くのはめんどうですよね。 そんなとき~/.ssh/configに書いておけば、勝手にオプションを使ってくれるので便利という話です。 Host lab HostName lab.hoge.masasuzu2.net Port 10022 User masasuzu IdentityFile ~/.ssh/lab_id_dsaたとえば、こんな感じに書いておけば、&quot;ssh lab&quot;と叩くだけで、以下のコマンドを叩いたのと同じ効果が得られます。長いオプションをいちいち書かなくて済んで楽ですね。Ho…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmasasuzu.hatenablog.jp%2Fentry%2F2012%2F12%2F02%2Fssh_config&quot; title=&quot;ssh_configのメモ - 目の前に僕らの道がある&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>2012-12-02 23:31:57</published>
  <title>ssh_configのメモ</title>
  <type>rich</type>
  <url>https://masasuzu.hatenablog.jp/entry/2012/12/02/ssh_config</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
