{"provider_url":"https://hatena.blog","url":"https://iwamino.hatenablog.com/entry/2024/03/16/214403","blog_url":"https://iwamino.hatenablog.com/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fiwamino.hatenablog.com%2Fentry%2F2024%2F03%2F16%2F214403\" title=\"\u30d1\u30b9\u30ef\u30fc\u30c9\u5165\u529b\u7121\u3057\u3067scp - DumDumDiary\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_url":"https://blog.hatena.ne.jp/iwamino/","title":"\u30d1\u30b9\u30ef\u30fc\u30c9\u5165\u529b\u7121\u3057\u3067scp","image_url":null,"version":"1.0","height":"190","provider_name":"Hatena Blog","blog_title":"DumDumDiary","categories":["tec"],"author_name":"iwamino","width":"100%","description":"#!/bin/bash -eu expect -c \"spawn scp /home/user1/source1.txt user2@targetHost://home/user2/source1.txt ; expect password: ; send user2PASSWORD\\r ; expect $ ; exit\" expect -c \"spawn scp /home/user1/source2.txt user2@targetHost://home/user2/source2.txt ; expect password: ; send user2PASSWORD\\r ; expec\u2026","published":"2024-03-16 21:44:03","type":"rich"}