{"author_name":"yohei-a","type":"rich","published":"2017-11-06 09:11:38","image_url":null,"url":"https://yohei-a.hatenablog.jp/entry/20171106/1509927098","blog_url":"https://yohei-a.hatenablog.jp/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyohei-a.hatenablog.jp%2Fentry%2F20171106%2F1509927098\" title=\"SSH \u306e\u30bf\u30a4\u30e0\u30a2\u30a6\u30c8\u3092\u9632\u6b62\u3059\u308b\uff08Keep Alive \u3092\u6709\u52b9\u306b\u3059\u308b\uff09 - ablog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_url":"https://hatena.blog","provider_name":"Hatena Blog","width":"100%","categories":["Linux","Mac"],"version":"1.0","title":"SSH \u306e\u30bf\u30a4\u30e0\u30a2\u30a6\u30c8\u3092\u9632\u6b62\u3059\u308b\uff08Keep Alive \u3092\u6709\u52b9\u306b\u3059\u308b\uff09","author_url":"https://blog.hatena.ne.jp/yohei-a/","description":"\u4e8b\u8c61 \u4f8b\u3048\u3070\u3001EC2 \u306e Amazon Linux \u306b ssh \u3067\u63a5\u7d9a\u3057\u3066\u5b9f\u884c\u6642\u9593\u306e\u9577\u3044*1\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u3044\u308b\u3068\u30bf\u30a4\u30e0\u30a2\u30a6\u30c8\u3057\u3066\u4ee5\u4e0b\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u51fa\u529b\u3055\u308c\u308b\u3002 packet_write_wait: Connection to **.***106.21 port 22: Broken pipe \u89e3\u6c7a\u7b56 \u30af\u30e9\u30a4\u30a2\u30f3\u30c8\uff08\u81ea\u5206\u306e\u5834\u5408\u306f Mac\uff09\u306e ~/.ssh/config \u306b\u4ee5\u4e0b\u3092\u8ffd\u8a18\u3059\u308b\u3002 ServerAliveInterval 60 \u4e0a\u8a18\u306e\u8a2d\u5b9a\u306e\u5834\u5408\u300160\u79d2\u9593\u9694\u3067 Keep Alive \u306e\u30d1\u30b1\u30c3\u30c8\u304c\u9001\u4fe1\u3055\u308c\u3001\u30bf\u30a4\u30e0\u30a2\u30a6\u30c8\u3057\u306a\u304f\u306a\u308b\u3002 \u74b0\u5883 macOS Sierra \u53c2\u8003 ssh_config\u2026","blog_title":"ablog","height":"190"}