{"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog1.mammb.com%2Fentry%2F20100605%2F1275756354\" title=\"\u30ea\u30e2\u30fc\u30c8\u30b7\u30a7\u30eb\u306e\u7d42\u4e86\u30b9\u30c6\u30fc\u30bf\u30b9 - A Memorandum\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","categories":["Shell"],"published":"2010-06-05 01:45:54","description":"ssh \u3092\u4f7f\u3046\u306e\u3067\u5229\u7528\u6a5f\u4f1a\u306f\u7121\u3044\u3068\u601d\u3046\u3051\u3069\u30fb\u30fb \u30ea\u30e2\u30fc\u30c8\u30b7\u30a7\u30eb\u306e\u5229\u7528\u78ba\u8a8d \u30ea\u30e2\u30fc\u30c8\u5074\u3067echo\u3057\u3066\u63a5\u7d9a\u78ba\u8a8d\u3002 #!/bin/sh rsh host \"echo test > /dev/null\" if [ $? -n 0 ]; then echo \"Connection faild.\" 1>&2 exit 1 fi \u30ea\u30e2\u30fc\u30c8\u5148\u306e\u30ed\u30b0\u30a4\u30f3\u30b7\u30a7\u30eb\u3092\u5f37\u8981\u3059\u308b \u30ea\u30e2\u30fc\u30c8\u30b7\u30a7\u30eb\u3067\u30b3\u30de\u30f3\u30c9\u5b9f\u884c\u3059\u308b\u5834\u5408\u3001\u30ea\u30e2\u30fc\u30c8\u30db\u30b9\u30c8\u5074\u306e\u30ed\u30b0\u30a4\u30f3\u30b7\u30a7\u30eb\u3067\u5b9f\u884c\u3055\u308c\u308b\u3002B\u30b7\u30a7\u30eb\u3092\u5f37\u8981\u3057\u305f\u3044\u5834\u5408\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3059\u308b\u3002 rsh host \"sh -c 'echo test'\" \u30ea\u30e2\u30fc\u30c8\u30b3\u30de\u30f3\u30c9\u306e\u7d42\u4e86\u30b9\u30c6\u30fc\u30bf\u30b9 \u30ea\u30e2\u30fc\u30c8\u30b7\u30a7\u30eb\u306e\u7d42\u4e86\u30b9\u2026","provider_url":"https://hatena.blog","height":"190","width":"100%","author_name":"Naotsugu","url":"https://blog1.mammb.com/entry/20100605/1275756354","author_url":"https://blog.hatena.ne.jp/Naotsugu/","image_url":null,"provider_name":"Hatena Blog","title":"\u30ea\u30e2\u30fc\u30c8\u30b7\u30a7\u30eb\u306e\u7d42\u4e86\u30b9\u30c6\u30fc\u30bf\u30b9","blog_title":"A Memorandum","version":"1.0","type":"rich","blog_url":"https://blog1.mammb.com/"}