{"id":447,"date":"2011-11-29T16:08:32","date_gmt":"2011-11-29T21:08:32","guid":{"rendered":"http:\/\/www.serverprontouniversity.com\/?p=447"},"modified":"2018-10-11T22:59:49","modified_gmt":"2018-10-12T03:59:49","slug":"support-of-the-day-slow-ssh-login-in-centos-6","status":"publish","type":"post","link":"https:\/\/www.serverpronto.com\/spu\/2011\/11\/support-of-the-day-slow-ssh-login-in-centos-6\/","title":{"rendered":"Slow SSH login in CentOS 6"},"content":{"rendered":"<div id=\"_mcePaste\">\n<div>If SSH login is very slow in CentOS 6 it\u00e2\u20ac\u2122s because they have added another security feature, the SSH server will do a reverse DNS again for any incoming connection, this will delay connection up to 13 seconds.<\/div>\n<div><\/div>\n<\/div>\n<p><!--more--><\/p>\n<div id=\"_mcePaste\">\n<div>To avoid this:<\/div>\n<div><\/div>\n<div><\/div>\n<div id=\"_mcePaste\">1. Access the server<\/div>\n<div><\/div>\n<div><\/div>\n<div id=\"_mcePaste\">2. Edit the ssh config<\/div>\n<pre style=\"padding-left: 30px;\">Nano \/etc\/ssh\/sshd_config<\/pre>\n<div>3. Look for use DNS and change it to no<\/div>\n<div><\/div>\n<pre style=\"padding-left: 30px;\">Ctrl +w, usedns, enter<\/pre>\n<div id=\"_mcePaste\" style=\"padding-left: 30px;\">Change it from<\/div>\n<pre style=\"padding-left: 30px;\">#useDNS yes<\/pre>\n<p style=\"padding-left: 30px;\">to<\/p>\n<pre style=\"padding-left: 30px;\">useDNS&nbsp;no<\/pre>\n<div style=\"padding-left: 30px;\"><\/div>\n<div id=\"_mcePaste\">4. Save and close<\/div>\n<div><\/div>\n<pre style=\"padding-left: 30px;\">Ctrl + X, Y, enter<\/pre>\n<div style=\"padding-left: 30px;\"><\/div>\n<div id=\"_mcePaste\">5. Restart the sshd service<\/div>\n<pre style=\"padding-left: 30px;\">Service sshd restart<\/pre>\n<\/div>\n<p><a href=\"https:\/\/www.serverpronto.com\">ServerPronto<\/a> offers the best affordable and secure hosting service in all dedicated server packages.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If SSH login is very slow in CentOS 6 it\u00e2\u20ac\u2122s because they have added another security feature, the SSH server will do a reverse DNS again for any incoming connection, this will delay connection up to 13 seconds.<\/p>\n","protected":false},"author":2,"featured_media":2118,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[64],"tags":[123,17,112,22,18],"class_list":["post-447","post","type-post","status-publish","format-standard","has-post-thumbnail","category-support-of-the-day","tag-cloud","tag-dedicated-server","tag-hosting","tag-server","tag-web-hosting"],"_links":{"self":[{"href":"https:\/\/www.serverpronto.com\/spu\/wp-json\/wp\/v2\/posts\/447","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.serverpronto.com\/spu\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.serverpronto.com\/spu\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.serverpronto.com\/spu\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.serverpronto.com\/spu\/wp-json\/wp\/v2\/comments?post=447"}],"version-history":[{"count":12,"href":"https:\/\/www.serverpronto.com\/spu\/wp-json\/wp\/v2\/posts\/447\/revisions"}],"predecessor-version":[{"id":2915,"href":"https:\/\/www.serverpronto.com\/spu\/wp-json\/wp\/v2\/posts\/447\/revisions\/2915"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.serverpronto.com\/spu\/wp-json\/wp\/v2\/media\/2118"}],"wp:attachment":[{"href":"https:\/\/www.serverpronto.com\/spu\/wp-json\/wp\/v2\/media?parent=447"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.serverpronto.com\/spu\/wp-json\/wp\/v2\/categories?post=447"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.serverpronto.com\/spu\/wp-json\/wp\/v2\/tags?post=447"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}