<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>rasumus</author_name>
  <author_url>https://blog.hatena.ne.jp/rasumus/</author_url>
  <blog_title>rokkonet</blog_title>
  <blog_url>https://rasumus.hatenablog.com/</blog_url>
  <categories>
    <anon>rsync</anon>
    <anon>ssh</anon>
  </categories>
  <description>2026 May 19. 2026 Mar. 24. 2026 Mar. 16. （scpコマンドではなく）rsyncコマンドで、sshの鍵ファイルを利用してコピーする。 rsyncは、コピー元とコピー先が同じホスト（ローカル）ではsshが不要だが、異なるホスト間（リモート）でのコピーではsshを要する。 条件 SSHサーバーの/SRC/DIRディレクトリをクライアントの/DSTディレクトリの下にコピーするものとする。 SSHサーバーの/SRC/DIRディレクトリ内に存在しないが、クライアントの/DSTディレクトリ内に存在するファイルはそのまま残す。 クライアントの&quot;/home/USER/.s…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Frasumus.hatenablog.com%2Fentry%2F2026%2F03%2F15%2F105329&quot; title=&quot;端末間のファイルのコピー（OpenSSH、rsync） - rokkonet&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>2026-05-19 22:36:29</published>
  <title>端末間のファイルのコピー（OpenSSH、rsync）</title>
  <type>rich</type>
  <url>https://rasumus.hatenablog.com/entry/2026/03/15/105329</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
