{"id":651,"date":"2019-04-04T20:28:00","date_gmt":"2019-04-05T01:28:00","guid":{"rendered":"http:\/\/csic.som.emory.edu\/~lzhou\/blogs\/?p=651"},"modified":"2019-04-04T20:28:00","modified_gmt":"2019-04-05T01:28:00","slug":"ssh-login-slow-stuck-on-pledge-exec-if-v","status":"publish","type":"post","link":"https:\/\/csic.som.emory.edu\/~lzhou\/blogs\/?p=651","title":{"rendered":"ssh login slow, stuck on &#8220;pledge: exec&#8221; if -v"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">ssh to a linux box slow after keyed in password, taking 10+ seconds.  If using ssh -v, found all the waiting spend on debug info:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">debug1: pledge: exec<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This usually happen when something stuck on the systemd-logind service.  <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Restart this service by running<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">systemctl restart systemd-logind<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">usually resolves this without rebooting the box.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>ssh to a linux box slow after keyed in password, taking 10+ seconds. If using ssh -v, found all the waiting spend on debug info: debug1: pledge: exec This usually happen when something stuck on the systemd-logind service. Restart this service by running systemctl restart systemd-logind usually resolves this without rebooting the box.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[21,3],"tags":[],"class_list":["post-651","post","type-post","status-publish","format-standard","hentry","category-computer-tips","category-mri-technical-support","post-blog"],"_links":{"self":[{"href":"https:\/\/csic.som.emory.edu\/~lzhou\/blogs\/index.php?rest_route=\/wp\/v2\/posts\/651","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/csic.som.emory.edu\/~lzhou\/blogs\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/csic.som.emory.edu\/~lzhou\/blogs\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/csic.som.emory.edu\/~lzhou\/blogs\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/csic.som.emory.edu\/~lzhou\/blogs\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=651"}],"version-history":[{"count":1,"href":"https:\/\/csic.som.emory.edu\/~lzhou\/blogs\/index.php?rest_route=\/wp\/v2\/posts\/651\/revisions"}],"predecessor-version":[{"id":652,"href":"https:\/\/csic.som.emory.edu\/~lzhou\/blogs\/index.php?rest_route=\/wp\/v2\/posts\/651\/revisions\/652"}],"wp:attachment":[{"href":"https:\/\/csic.som.emory.edu\/~lzhou\/blogs\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=651"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/csic.som.emory.edu\/~lzhou\/blogs\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=651"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/csic.som.emory.edu\/~lzhou\/blogs\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=651"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}