<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kopumin</author_name>
  <author_url>https://blog.hatena.ne.jp/kopumin/</author_url>
  <blog_title>それっぽい技術メモ</blog_title>
  <blog_url>https://kopumin.hatenablog.com/</blog_url>
  <categories>
    <anon>linux</anon>
    <anon>コマンド</anon>
  </categories>
  <description>リプレイス前は、サーバ間で共有ディスクをそれぞれマウントしていたので、cpコマンドでサクッとコピーができたけど、AWSに持っていったらそれぞれのサーバにEBSでディレクトリがきられてる！コピーコマンド使えない！！ で、scpを使ってみました。 コピー元でシェルを動かすので、こんなコマンドでサクッとコピー。 scp -P 10022 /home/test/sec-cp.dat test@192.168.1.1:/tmp/sec-cp.dat scpはsshのポートを使うので、オプション -P でポート番号10022を指定しています。コピー元が /home/test/sec-cp.datコピー先が…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkopumin.hatenablog.com%2Fentry%2F2020%2F06%2F30%2F205305&quot; title=&quot;対話型を対話しないLinux　expect de scp - それっぽい技術メモ&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>2020-06-30 20:53:05</published>
  <title>対話型を対話しないLinux　expect de scp</title>
  <type>rich</type>
  <url>https://kopumin.hatenablog.com/entry/2020/06/30/205305</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
