{"image_url":null,"provider_name":"Hatena Blog","width":"100%","description":"\u306f\u3058\u3081\u306b \u30b3\u30de\u30f3\u30c9\u3084\u30b7\u30a7\u30eb\u30b9\u30af\u30ea\u30d7\u30c8\u306a\u3093\u304b\u3067ssh\u30b3\u30de\u30f3\u30c9\u306b\u4ed6\u306e\u30b3\u30de\u30f3\u30c9\u6e21\u3057\u3066 \u30ea\u30e2\u30fc\u30c8\u64cd\u4f5c\u3057\u305f\u3044\u3068\u304d\u3042\u308a\u307e\u3059\u3088\u306d\u3002\u3053\u3093\u306a\u611f\u3058 # ssh hoge@hogehost.co.jp 'sudo apachectl graceful' \u305d\u306e\u6642\u306bsudo: sorry, you must have a tty to run sudo\u306a\u611f\u3058\u3067\u30a8\u30e9\u30fc\u304c\u51fa\u3066\u3057\u307e\u3046\u3068\u304d\u306e\u5bfe\u51e6\u6cd5\u30e1\u30e2 \u5bfe\u51e6 \u5bfe\u51e6\u306f\u4e3b\u306b\u4e0b\u8a18\u306e2\u30d1\u30bf\u30fc\u30f3\u3042\u308a\u307e\u3059\u3002 \u30ea\u30e2\u30fc\u30c8\u5148\u306e\u8a2d\u5b9a\u3092\u5909\u3048\u3066\u3082\u826f\u3044\u5834\u5408\u306f1\u306e\u307b\u3046\u304c\u826f\u3044\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u306d \u30ea\u30e2\u30fc\u30c8\u5148\u3067sudo\u306e\u8a2d\u5b9a\u3092\u3044\u3058\u308b ssh\u306e\u30aa\u30d7\u30b7\u30e7\u30f3-t\u3092\u3064\u3051\u308b 1. \u30ea\u30e2\u30fc\u30c8\u5148\u3067sudo\u306e\u8a2d\u5b9a\u3092\u3044\u3058\u308b \u30ea\u30e2\u30fc\u2026","author_url":"https://blog.hatena.ne.jp/tweeeety/","blog_url":"https://tweeeety.hateblo.jp/","published":"2015-03-03 11:11:16","height":"190","categories":["linux","ssh"],"provider_url":"https://hatena.blog","author_name":"tweeeety","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftweeeety.hateblo.jp%2Fentry%2F2015%2F03%2F03%2F111116\" title=\"ssh\u30b3\u30de\u30f3\u30c9\u3067tty\u7121\u3057\u3067\u306esudo\u5b9f\u884c\u3002&#39;sudo: sorry, you must have a tty to run sudo&#39;\u306a\u30a8\u30e9\u30fc\u3092\u51fa\u306a\u304f\u3059\u308b - tweeeety\u306e\u3076\u308d\u3050\u7684\u3081\u3082\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_title":"tweeeety\u306e\u3076\u308d\u3050\u7684\u3081\u3082","version":"1.0","type":"rich","url":"https://tweeeety.hateblo.jp/entry/2015/03/03/111116","title":"ssh\u30b3\u30de\u30f3\u30c9\u3067tty\u7121\u3057\u3067\u306esudo\u5b9f\u884c\u3002'sudo: sorry, you must have a tty to run sudo'\u306a\u30a8\u30e9\u30fc\u3092\u51fa\u306a\u304f\u3059\u308b"}