{"id":2228,"date":"2012-03-02T01:48:29","date_gmt":"2012-03-02T08:48:29","guid":{"rendered":"http:\/\/www.sheer.us\/weblogs\/?p=2228"},"modified":"2012-03-06T15:29:06","modified_gmt":"2012-03-06T22:29:06","slug":"tech-post-ubuntu-10-04-hangs-on-ssh-or-telnet-login-fix","status":"publish","type":"post","link":"http:\/\/www.sheer.us\/weblogs\/uncategorized\/tech-post-ubuntu-10-04-hangs-on-ssh-or-telnet-login-fix","title":{"rendered":"Tech post: Ubuntu 10.04 hangs on ssh or telnet login (fix)"},"content":{"rendered":"<p>I thought I&#8217;d post this just in case anyone else has the same problem I did with 10.04 hanging on ssh login (it also hangs on telnet login, but control-C will fix that. SSH users are not so lucky)<\/p>\n<p>The problem would seem to be that \/usr\/lib\/update-notifier\/update-motd-updates-available is trying to access the network and failing &#8211; or just taking a very long time to succeed. I seem to especially have problems with this on nodes running on Amazon&#8217;s EC2 network.<\/p>\n<p>The easy solution is to edit \/usr\/lib\/update-notifier\/update-motd-updates-available and add a &#8216;exit&#8217; at the top of the script. Of course, this disables checking for updates whenever you log in, but personally I&#8217;d rather be *able* to log in. \ud83d\ude09<\/p>\n<p>You will also need to edit \/etc\/update-motd.d\/90-updates-available and similarly add &#8216;exit&#8217; to it, so that the next time these files are generated this fix continues to work<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I thought I&#8217;d post this just in case anyone else has the same problem I did with 10.04 hanging on ssh login (it also hangs on telnet login, but control-C will fix that. SSH users are not so lucky) The problem would seem to be that \/usr\/lib\/update-notifier\/update-motd-updates-available is trying to access the network and failing [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"http:\/\/www.sheer.us\/weblogs\/wp-json\/wp\/v2\/posts\/2228"}],"collection":[{"href":"http:\/\/www.sheer.us\/weblogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.sheer.us\/weblogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.sheer.us\/weblogs\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.sheer.us\/weblogs\/wp-json\/wp\/v2\/comments?post=2228"}],"version-history":[{"count":2,"href":"http:\/\/www.sheer.us\/weblogs\/wp-json\/wp\/v2\/posts\/2228\/revisions"}],"predecessor-version":[{"id":2231,"href":"http:\/\/www.sheer.us\/weblogs\/wp-json\/wp\/v2\/posts\/2228\/revisions\/2231"}],"wp:attachment":[{"href":"http:\/\/www.sheer.us\/weblogs\/wp-json\/wp\/v2\/media?parent=2228"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.sheer.us\/weblogs\/wp-json\/wp\/v2\/categories?post=2228"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.sheer.us\/weblogs\/wp-json\/wp\/v2\/tags?post=2228"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}