<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>IT7C</author_name>
  <author_url>https://blog.hatena.ne.jp/IT7C/</author_url>
  <blog_title>イノベートな非日常</blog_title>
  <blog_url>https://it7c.hatenadiary.org/</blog_url>
  <categories>
    <anon>ssh</anon>
    <anon>TIPS</anon>
  </categories>
  <description>rsync over sshなどで、フロントエンドのサーバーにコンテンツを配布するときなどに、パスフレーズなしのSSH公開鍵を配布するのは意外と面倒なものです。そこで、配布に便利なMakefileを紹介します。 HOST=127.0.0.1 KEY=~/.ssh/id_dsa keygen: ssh-keygen -t rsa -N &quot;&quot; -f $(KEY) dist: ssh $(HOST) 'mkdir -p ~/.ssh' cat $(KEY).pub|ssh $(HOST) 'cat &gt;&gt; ~/.ssh/authorized_keys' clean: rm -f $(KEY)*</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fit7c.hatenadiary.org%2Fentry%2F20110719%2F1311084644&quot; title=&quot;rsync over sshでコンテンツを配布するときなどsshの鍵交換をするときに便利なMakefile - イノベートな非日常&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>2011-07-19 23:10:44</published>
  <title>rsync over sshでコンテンツを配布するときなどsshの鍵交換をするときに便利なMakefile</title>
  <type>rich</type>
  <url>https://it7c.hatenadiary.org/entry/20110719/1311084644</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
