{"description":"\u6982\u8981 python \u3067 ssh\u3068\u304bsftp\u51e6\u7406\u3057\u3088\u3046\u3068\u3059\u308b\u3068\u5927\u62b5\u51fa\u3066\u6765\u308b paramiko \u30e2\u30b8\u30e5\u30fc\u30eb\u3055\u3093\u3002 \u8d85\u4fbf\u5229\u306a\u306e\u3067\u3059\u304c\u3001ssh\u3067\u3084\u308a\u53d6\u308a\u3059\u308b\u51e6\u7406\u3092\u66f8\u3044\u3066 \u6a19\u6e96\u51fa\u529b\u3092\u53d7\u3051\u53d6\u308d\u3046\u3068\u3059\u308b\u3068\u3001UnicodeDecodeError \u304c\u767a\u751f\u3059\u308b\u3068\u304d\u304c\u3042\u308a\u307e\u3059\u3002 \u306a\u3093\u3067\u306a\u306e\u304b\u3068\u3044\u3046\u3068\u3001paramiko\u5185\u90e8\u51e6\u7406\u306e exec_command \u95a2\u6570\u306b\u3066 stdin \u306e\u307f\u304c\u30d0\u30a4\u30ca\u30ea\u30e2\u30fc\u30c9\u3067\u3001stdout\u3068stderr\u304c\u30c6\u30ad\u30b9\u30c8\u30e2\u30fc\u30c9\u3067\u51e6\u7406\u3057\u3088\u3046\u3068\u3057\u3066\u3044\u308b\u305f\u3081\u3067\u3059\u3002 \u305f\u307e\u305f\u307e\u3001euc-jp\u306alinux\u30de\u30b7\u30f3\u7528\u306b\u51e6\u7406\u66f8\u3044\u3066\u3066\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u305f\u306e\u3067\u77e5\u308a\u307e\u3057\u305f\u3002 \u3067\u3001\u30bd\u30fc\u30b9\u307f\u3066\u307f\u308b\u3068\u3001\u30e2\u30fc\u30c9\u306e\u90e8\u5206\u306f\u30d1\u30e9\u30e1\u30fc\u30bf\u306b\u3082\u306a\u3063\u2026","author_url":"https://blog.hatena.ne.jp/gsf_zero1/","width":"100%","author_name":"gsf_zero1","type":"rich","url":"https://devlights.hatenablog.com/entry/2017/06/29/184934","blog_url":"https://devlights.hatenablog.com/","published":"2017-06-29 18:49:34","provider_url":"https://hatena.blog","blog_title":"\u3044\u308d\u3044\u308d\u5099\u5fd8\u9332\u65e5\u8a18","image_url":null,"title":"Python\u30e1\u30e2-16 (paramiko, ssh, UnicodeDecodeError, stdout\u3068stderr\u304c\u30c6\u30ad\u30b9\u30c8\u30e2\u30fc\u30c9, monkey_patch\u95a2\u6570)","categories":["python"],"version":"1.0","height":"190","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdevlights.hatenablog.com%2Fentry%2F2017%2F06%2F29%2F184934\" title=\"Python\u30e1\u30e2-16 (paramiko, ssh, UnicodeDecodeError, stdout\u3068stderr\u304c\u30c6\u30ad\u30b9\u30c8\u30e2\u30fc\u30c9, monkey_patch\u95a2\u6570) - \u3044\u308d\u3044\u308d\u5099\u5fd8\u9332\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_name":"Hatena Blog"}