{"id":32,"date":"2009-09-15T16:03:06","date_gmt":"2009-09-15T22:03:06","guid":{"rendered":"http:\/\/blog.d5.ca\/?p=32"},"modified":"2011-03-17T11:34:32","modified_gmt":"2011-03-17T17:34:32","slug":"delay-between-username-and-password-on-ssh-login","status":"publish","type":"post","link":"https:\/\/blog.d5.ca\/?p=32","title":{"rendered":"Delay between username and password on SSH login"},"content":{"rendered":"<p>The delay is likely caused by the server being unable to do a reverse dns lookup for the client machine.\u00a0 There are a couple of solutions:<\/p>\n<ol>\n<li>Add the client&#8217;s hostname and IP address to the server&#8217;s \/etc\/hosts file<\/li>\n<li>Add the PTR record for the client machine to the DNS server.<\/li>\n<li>Add the following line to the server&#8217;s \/etc\/ssh\/sshd_config file:\n<pre style=\"border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 90%; text-align: left;\">UseDNS no<\/pre>\n<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>The delay is likely caused by the server being unable to do a reverse dns lookup for the client machine.\u00a0 There are a couple of solutions: Add the client&#8217;s hostname and IP address to the server&#8217;s \/etc\/hosts file Add the PTR record for the client machine to the DNS server. Add the following line to [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":"","_links_to":"","_links_to_target":""},"categories":[25],"tags":[11,12],"class_list":["post-32","post","type-post","status-publish","format-standard","hentry","category-reference","tag-linux","tag-ssh"],"_links":{"self":[{"href":"https:\/\/blog.d5.ca\/index.php?rest_route=\/wp\/v2\/posts\/32","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.d5.ca\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.d5.ca\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.d5.ca\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.d5.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=32"}],"version-history":[{"count":6,"href":"https:\/\/blog.d5.ca\/index.php?rest_route=\/wp\/v2\/posts\/32\/revisions"}],"predecessor-version":[{"id":141,"href":"https:\/\/blog.d5.ca\/index.php?rest_route=\/wp\/v2\/posts\/32\/revisions\/141"}],"wp:attachment":[{"href":"https:\/\/blog.d5.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=32"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.d5.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=32"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.d5.ca\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=32"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}