{"id":516,"date":"2013-03-19T20:43:36","date_gmt":"2013-03-19T20:43:36","guid":{"rendered":"http:\/\/www.neyestrabelli.com\/blog\/?p=516"},"modified":"2013-03-19T20:43:36","modified_gmt":"2013-03-19T20:43:36","slug":"como-deixar-o-ssh-no-linux-mais-rapido","status":"publish","type":"post","link":"https:\/\/www.neyestrabelli.com\/blog\/2013\/03\/19\/como-deixar-o-ssh-no-linux-mais-rapido\/","title":{"rendered":"Como deixar o ssh no linux mais r\u00e1pido"},"content":{"rendered":"<p>As vezes acontece de voc\u00ea tentar fazer o login em algum servidor linux e o mesmo demorar para responder, isso acontece porque na maioria das vezes o servidor est\u00e1 resolvendo o dns reverso.<\/p>\n<p>Portanto se voc\u00ea tiver com algum problema de dns, esta resposta pode demorar ainda mais.<\/p>\n<p>Para melhorar essa velocidade basta fazer as seguintes altera\u00e7\u00f5es no servidor.<\/p>\n<p>&nbsp;<\/p>\n<pre>vim \/etc\/ssh\/sshd_config<\/pre>\n<p>Descomente a linha<\/p>\n<pre>#UseDNS yes<\/pre>\n<p>e troque para no<\/p>\n<pre>UseDNS no<\/pre>\n<p>reinicie o servidor ssh:<\/p>\n<pre>\/etc\/init.d\/ssh restart<\/pre>\n<p>&nbsp;<\/p>\n<p>Isto j\u00e1 ir\u00e1 melhorar a conex\u00e3o, se voc\u00ea continuar com problemas de velocidade na resposta experimente adicionar no resolv.conf a seguinte op\u00e7\u00e3o:<\/p>\n<pre>vi \/etc\/resolv.conf\n\noptions single-request-reopen<\/pre>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>As vezes acontece de voc\u00ea tentar fazer o login em algum servidor linux e o mesmo demorar para responder, isso acontece porque na maioria das vezes o servidor est\u00e1 resolvendo o dns reverso. Portanto se voc\u00ea tiver com algum problema de dns, esta resposta pode demorar ainda mais. Para melhorar essa velocidade basta fazer as [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[10],"tags":[53,61,92,153,154],"class_list":["post-516","post","type-post","status-publish","format-standard","hentry","category-linux","tag-dns","tag-faster","tag-linux","tag-ssh","tag-sshd"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.neyestrabelli.com\/blog\/wp-json\/wp\/v2\/posts\/516","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.neyestrabelli.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.neyestrabelli.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.neyestrabelli.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.neyestrabelli.com\/blog\/wp-json\/wp\/v2\/comments?post=516"}],"version-history":[{"count":0,"href":"https:\/\/www.neyestrabelli.com\/blog\/wp-json\/wp\/v2\/posts\/516\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.neyestrabelli.com\/blog\/wp-json\/wp\/v2\/media?parent=516"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.neyestrabelli.com\/blog\/wp-json\/wp\/v2\/categories?post=516"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.neyestrabelli.com\/blog\/wp-json\/wp\/v2\/tags?post=516"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}