{"id":28972,"date":"2020-05-19T15:43:12","date_gmt":"2020-05-19T19:43:12","guid":{"rendered":"https:\/\/mjtsai.com\/blog\/?p=28972"},"modified":"2020-05-19T20:59:39","modified_gmt":"2020-05-20T00:59:39","slug":"timing-in-ssh","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2020\/05\/19\/timing-in-ssh\/","title":{"rendered":"Timing in SSH"},"content":{"rendered":"<p><a href=\"https:\/\/leancrew.com\/all-this\/2020\/05\/timing-in-ssh\/\">Dr. Drang<\/a>:<\/p>\n<blockquote cite=\"https:\/\/leancrew.com\/all-this\/2020\/05\/timing-in-ssh\/\">\n<p>Apparently, in its neverending quest to save battery, Apple is powering down the wifi system between packets, which means a delay when new packets arrive or need to be sent. This doesn&rsquo;t materially affect file transfers or streaming because the packets keep coming, but it plays havoc with intermittent communication like a terminal session.<\/p>\n<p>Pistos&rsquo;s solution was to set up two connections: one that keeps up a constant, albeit low volume, flow of bytes between the Mac and whatever was connected to it; and another for what he really wanted to do. I took his solution and turned it into this short shell script[&#8230;]<\/p>\n<p>[&#8230;]<\/p>\n<p>A better question might be why Apple is trying to save battery life on a Mac that doesn&rsquo;t run on battery.<\/p>\n<\/blockquote>\n\n<p>Previously:<\/p>\n<ul>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2020\/05\/18\/edison-mail-bug-allows-access-to-other-users-data\/\">Edison Mail Bug Allows Access to Other Users&rsquo; Data<\/a><\/li>\n<\/ul>","protected":false},"excerpt":{"rendered":"<p>Dr. Drang: Apparently, in its neverending quest to save battery, Apple is powering down the wifi system between packets, which means a delay when new packets arrive or need to be sent. This doesn&rsquo;t materially affect file transfers or streaming because the packets keep coming, but it plays havoc with intermittent communication like a terminal [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"2020-05-19T19:43:15Z","apple_news_api_id":"08333319-0e19-4a86-b568-feb0748178a8","apple_news_api_modified_at":"2020-05-20T00:59:42Z","apple_news_api_revision":"AAAAAAAAAAAAAAAAAAAAAA==","apple_news_api_share_url":"https:\/\/apple.news\/ACDMzGQ4ZSoa1aP6wdIF4qA","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[2],"tags":[28,30,1666,476,506,187],"class_list":["post-28972","post","type-post","status-publish","format-standard","hentry","category-technology","tag-batterylife","tag-mac","tag-macos-10-15","tag-networking","tag-ssh","tag-wifi"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/28972","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=28972"}],"version-history":[{"count":1,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/28972\/revisions"}],"predecessor-version":[{"id":28973,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/28972\/revisions\/28973"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=28972"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=28972"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=28972"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}