<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>bearmini</author_name>
  <author_url>https://blog.hatena.ne.jp/bearmini/</author_url>
  <blog_title>bearmini's blog</blog_title>
  <blog_url>https://bearmini.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>2014.05.09 追記 $ ssh-copy-id user@hostname でいいかも。 （公開鍵ファイルを指定したい場合は -i オプションを使用する） $ ssh user@hostname &quot;echo `cat ~/.ssh/id_rsa.pub` &gt;&gt; ~/.ssh/authorized_keys&quot; 以上。 たまにやりたくなるんだけどいつも忘れるのでメモ。`〜` はローカル側のシェルで置き換えられてから ssh コマンドが実行され、echo 〜 はリモートサーバ上で実行される。ちなみに bash の man の EXPANSION の項によると、 ワード分割 ブレース展開（a{…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbearmini.hatenablog.com%2Fentry%2F2013%2F11%2F12%2F102840&quot; title=&quot;ssh サーバに公開鍵をワンライナーで登録する方法 - bearmini&amp;#39;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>2013-11-12 10:28:40</published>
  <title>ssh サーバに公開鍵をワンライナーで登録する方法</title>
  <type>rich</type>
  <url>https://bearmini.hatenablog.com/entry/2013/11/12/102840</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
